From 0271bdb8a47d8c04f28eaaa67fd9231cf65d858c Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mon, 13 Dec 2021 15:15:32 -0800 Subject: Per packaging guidelines, change binary RPMs to drop python3- prefixes Signed-off-by: Michel Alexandre Salim --- python/python-b4.spec | 8 ++++---- python/python-patatt.spec | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/python/python-b4.spec b/python/python-b4.spec index 0569bd3..a4b24e2 100644 --- a/python/python-b4.spec +++ b/python/python-b4.spec @@ -15,7 +15,6 @@ BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python3dist(pytest) -# BuildRequires: python%%{python3_pkgversion}-setuptools %global _description %{expand: B4 is a helper utility to work with patches made available via a public-inbox @@ -25,10 +24,11 @@ a patch-based workflows, like those used in the Linux kernel development.} %description %{_description} -%package -n python%{python3_pkgversion}-%{srcname} +%package -n %{srcname} Summary: %{summary} +Provides: python%{python3_pkgversion}-%{srcname} = %{version}-%{release} -%description -n python%{python3_pkgversion}-%{srcname} %{_description} +%description -n %{srcname} %{_description} %prep @@ -52,7 +52,7 @@ Summary: %{summary} %pytest -%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} +%files -n %{srcname} -f %{pyproject_files} %license COPYING %doc README.rst %{_bindir}/%{srcname} diff --git a/python/python-patatt.spec b/python/python-patatt.spec index c3eca6c..9ade348 100644 --- a/python/python-patatt.spec +++ b/python/python-patatt.spec @@ -20,10 +20,11 @@ to include cryptographic signatures via the X-Developer-Signature email header.} %description %{_description} -%package -n python%{python3_pkgversion}-%{srcname} +%package -n %{srcname} Summary: %{summary} +Provides: python%{python3_pkgversion}-%{srcname} = %{version}-%{release} -%description -n python%{python3_pkgversion}-%{srcname} %{_description} +%description -n %{srcname} %{_description} %prep @@ -47,7 +48,7 @@ Summary: %{summary} %pyproject_check_import -%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} +%files -n %{srcname} -f %{pyproject_files} %license COPYING %doc DCO README.rst samples %{_bindir}/%{srcname} -- cgit