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 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python/python-b4.spec') 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} -- cgit