#77 Disable tests and documentation in Fedora ELN (and RHEL)
Merged 3 years ago by churchyard. Opened 3 years ago by churchyard.
rpms/ churchyard/python-pip rhel_no_tests  into  master

file modified
+15 -2
@@ -1,6 +1,16 @@ 

+ # The original RHEL 9 content set is defined by (build)dependencies

+ # of the packages in Fedora ELN. Hence we disable tests and documentation here

+ # to prevent pulling many unwanted packages in.

+ # Once the RHEL 9 content set is defined and/or RHEL 9 forks from ELN,

+ # the conditional can be removed from the Fedora spec file.

+ # We intentionally keep this enabled on EPEL.

+ %if 0%{?rhel} >= 9 && !0%{?epel}

+ %bcond_with tests

+ %bcond_with doc

+ %else

  %bcond_without tests

- 

  %bcond_without doc

+ %endif

  

  %global srcname pip

  %global base_version 20.2.4
@@ -17,7 +27,7 @@ 

  

  Name:           python-%{srcname}

  Version:        %{base_version}%{?prerel:~%{prerel}}

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        A tool for installing and managing Python packages

  

  # We bundle a lot of libraries with pip, which itself is under MIT license.
@@ -401,6 +411,9 @@ 

  %{python_wheeldir}/%{python_wheelname}

  

  %changelog

+ * Fri Dec 04 2020 Miro Hrončok <mhroncok@redhat.com> - 20.2.4-2

+ - Disable tests and documentation in Fedora ELN (and RHEL)

+ 

  * Mon Oct 19 2020 Lumír Balhar <lbalhar@redhat.com> - 20.2.4-1

  - Update to 20.2.4 (#1889112)

  

rebased onto f444f50

3 years ago
$ rpm -qp --requires python-pip-20.2.4-2.eln107.src.rpm 
bash-completion
ca-certificates
python3-devel
python3-rpm-generators >= 11-8
python3-setuptools
python3-wheel
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1

Pull-Request has been merged by churchyard

3 years ago

Build succeeded.