import python-coverage-4.5.1-9.el8
This commit is contained in:
parent
758236ce4e
commit
79a9410650
@ -3,7 +3,7 @@
|
|||||||
Name: python-coverage
|
Name: python-coverage
|
||||||
Summary: Code coverage testing module for Python
|
Summary: Code coverage testing module for Python
|
||||||
Version: 4.5.1
|
Version: 4.5.1
|
||||||
Release: 7%{?prever}%{?dist}
|
Release: 9%{?prever}%{?dist}
|
||||||
# jquery(MIT):
|
# jquery(MIT):
|
||||||
# coverage/htmlfiles/jquery.min.js
|
# coverage/htmlfiles/jquery.min.js
|
||||||
# MIT or GPL:
|
# MIT or GPL:
|
||||||
@ -51,10 +51,14 @@ have been executed.
|
|||||||
%package -n python3-coverage
|
%package -n python3-coverage
|
||||||
Summary: Code coverage testing module for Python 3
|
Summary: Code coverage testing module for Python 3
|
||||||
Requires: platform-python-coverage = %{version}-%{release}
|
Requires: platform-python-coverage = %{version}-%{release}
|
||||||
# for alternatives
|
|
||||||
|
# Require alternatives version that implements the --keep-foreign flag
|
||||||
|
Requires(postun): alternatives >= 1.19.1-1
|
||||||
|
# For alternatives
|
||||||
Requires: python36
|
Requires: python36
|
||||||
Requires(post): python36
|
Requires(post): python36
|
||||||
Requires(postun): python36
|
Requires(postun): python36
|
||||||
|
|
||||||
%{?python_provide:%python_provide python3-coverage}
|
%{?python_provide:%python_provide python3-coverage}
|
||||||
|
|
||||||
%description -n python3-coverage
|
%description -n python3-coverage
|
||||||
@ -97,7 +101,7 @@ alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
|
|||||||
%postun -n python3-coverage
|
%postun -n python3-coverage
|
||||||
# Do this only during uninstall process (not during update)
|
# Do this only during uninstall process (not during update)
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
alternatives --remove-slave python3 \
|
alternatives --keep-foreign --remove-slave python3 \
|
||||||
%{_bindir}/python%{python3_version} coverage-3
|
%{_bindir}/python%{python3_version} coverage-3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -116,6 +120,13 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 23 2021 Tomas Orsava <torsava@redhat.com> - 4.5.1-9
|
||||||
|
- Bump release to rebuild
|
||||||
|
|
||||||
|
* Fri Jul 30 2021 Tomas Orsava <torsava@redhat.com> - 4.5.1-8
|
||||||
|
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
|
||||||
|
- Resolves: rhbz#1933055
|
||||||
|
|
||||||
* Wed Dec 12 2018 Tomas Orsava <torsava@redhat.com> - 4.5.1-7
|
* Wed Dec 12 2018 Tomas Orsava <torsava@redhat.com> - 4.5.1-7
|
||||||
- New subpackage platform-python-coverage without files from /usr/bin/*
|
- New subpackage platform-python-coverage without files from /usr/bin/*
|
||||||
- python3-coverage contains only files from /usr/bin/* and depends
|
- python3-coverage contains only files from /usr/bin/* and depends
|
||||||
|
Loading…
Reference in New Issue
Block a user