Disable tests and documentation in Fedora ELN (and RHEL)
This commit is contained in:
parent
e8ba55beb4
commit
f444f50981
@ -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 tests
|
||||||
|
|
||||||
%bcond_without doc
|
%bcond_without doc
|
||||||
|
%endif
|
||||||
|
|
||||||
%global srcname pip
|
%global srcname pip
|
||||||
%global base_version 20.2.4
|
%global base_version 20.2.4
|
||||||
@ -17,7 +27,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: %{base_version}%{?prerel:~%{prerel}}
|
Version: %{base_version}%{?prerel:~%{prerel}}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A tool for installing and managing Python packages
|
Summary: A tool for installing and managing Python packages
|
||||||
|
|
||||||
# We bundle a lot of libraries with pip, which itself is under MIT license.
|
# We bundle a lot of libraries with pip, which itself is under MIT license.
|
||||||
@ -401,6 +411,9 @@ pytest_k='not completion and
|
|||||||
%{python_wheeldir}/%{python_wheelname}
|
%{python_wheeldir}/%{python_wheelname}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Oct 19 2020 Lumír Balhar <lbalhar@redhat.com> - 20.2.4-1
|
||||||
- Update to 20.2.4 (#1889112)
|
- Update to 20.2.4 (#1889112)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user