From f8707b9f852d72df4e5d9cde6e38b04dc335fcbd Mon Sep 17 00:00:00 2001 From: Carl George Date: Thu, 9 Sep 2021 22:33:49 -0500 Subject: [PATCH] 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 --- koji.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koji.spec b/koji.spec index d0b6ad0..8727aba 100644 --- a/koji.spec +++ b/koji.spec @@ -9,7 +9,7 @@ Name: koji Version: 1.26.0 -Release: 1%{?dist} +Release: 2%{?dist} # the included arch lib from yum's rpmUtils is GPLv2+ License: LGPLv2 and GPLv2+ Summary: Build system tools @@ -44,9 +44,6 @@ Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-requests-gssapi Requires: python%{python3_pkgversion}-dateutil 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} Koji is a system for building and tracking RPMS. @@ -350,6 +347,9 @@ done %systemd_postun kojira.service %changelog +* Fri Sep 10 2021 Carl George - 1.26.0-2 +- Remove duplicate dist provides that are now automatic + * Wed Aug 25 2021 Kevin Fenzi - 1.26.0-1 - Update to 1.26.0. Fixes rhbz#1996614