summaryrefslogtreecommitdiffstats
path: root/python/python-patatt.spec
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-13 15:15:32 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-13 15:15:32 -0800
commit0271bdb8a47d8c04f28eaaa67fd9231cf65d858c (patch)
tree1cc13121b2a28d123eff9c3cccdb6ab7d072ff70 /python/python-patatt.spec
parenta6af764624c92ba7b23934f8e82cfcda1405dd69 (diff)
downloadspecs-0271bdb8a47d8c04f28eaaa67fd9231cf65d858c.tar.gz
specs-0271bdb8a47d8c04f28eaaa67fd9231cf65d858c.tar.xz
specs-0271bdb8a47d8c04f28eaaa67fd9231cf65d858c.zip
Per packaging guidelines, change binary RPMs to drop python3- prefixes
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python/python-patatt.spec')
-rw-r--r--python/python-patatt.spec7
1 files changed, 4 insertions, 3 deletions
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}