summaryrefslogtreecommitdiffstats
path: root/python/python-b4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-b4.spec')
-rw-r--r--python/python-b4.spec8
1 files changed, 4 insertions, 4 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}