Remove duplicate dist provides that are now automatic

Thanks to #10, we now have proper egginfo for python3-koji.  That means
that python3dist/python3.Xdist provides are automatically added, making
the explicit provides in the spec file redundant.

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Machine-readable-provides
epel9
Carl George 3 years ago
parent ff19c03359
commit f8707b9f85

@ -9,7 +9,7 @@
Name: koji Name: koji
Version: 1.26.0 Version: 1.26.0
Release: 1%{?dist} Release: 2%{?dist}
# the included arch lib from yum's rpmUtils is GPLv2+ # the included arch lib from yum's rpmUtils is GPLv2+
License: LGPLv2 and GPLv2+ License: LGPLv2 and GPLv2+
Summary: Build system tools Summary: Build system tools
@ -44,9 +44,6 @@ Requires: python%{python3_pkgversion}-requests
Requires: python%{python3_pkgversion}-requests-gssapi Requires: python%{python3_pkgversion}-requests-gssapi
Requires: python%{python3_pkgversion}-dateutil Requires: python%{python3_pkgversion}-dateutil
Requires: python%{python3_pkgversion}-six Requires: python%{python3_pkgversion}-six
# Since we don't have metadata here, provide the 'normal' python provides manually.
Provides: python%{python3_version}dist(%{name}) = %{version}
Provides: python%{python3_pkgversion}dist(%{name}) = %{version}
%description -n python%{python3_pkgversion}-%{name} %description -n python%{python3_pkgversion}-%{name}
Koji is a system for building and tracking RPMS. Koji is a system for building and tracking RPMS.
@ -350,6 +347,9 @@ done
%systemd_postun kojira.service %systemd_postun kojira.service
%changelog %changelog
* Fri Sep 10 2021 Carl George <carl@george.computer> - 1.26.0-2
- Remove duplicate dist provides that are now automatic
* Wed Aug 25 2021 Kevin Fenzi <kevin@scrye.com> - 1.26.0-1 * Wed Aug 25 2021 Kevin Fenzi <kevin@scrye.com> - 1.26.0-1
- Update to 1.26.0. Fixes rhbz#1996614 - Update to 1.26.0. Fixes rhbz#1996614

Loading…
Cancel
Save