summaryrefslogtreecommitdiffstats
path: root/python-patiencediff.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-patiencediff.spec')
-rw-r--r--python-patiencediff.spec11
1 files changed, 4 insertions, 7 deletions
diff --git a/python-patiencediff.spec b/python-patiencediff.spec
index c8b9975..539423b 100644
--- a/python-patiencediff.spec
+++ b/python-patiencediff.spec
@@ -4,7 +4,7 @@ Version: 0.2.0
Release: 1%{?dist}
Summary: Python implementation of the patiencediff algorithm
-License: GNU GPLv2 or later
+License: GPLv2+
URL: https://www.breezy-vcs.org/
Source0: %{pypi_source}
@@ -24,15 +24,12 @@ humans, and implementation simplicity.}
%package -n python3-%{pypi_name}
Summary: %{summary}
-%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name} %_description
%prep
%autosetup -n %{pypi_name}-%{version}
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
%build
%py3_build
@@ -41,13 +38,13 @@ rm -rf %{pypi_name}.egg-info
%py3_install
%check
-%{__python3} setup.py test
+%{python3} setup.py test
%files -n python3-%{pypi_name}
%license COPYING
%doc README.rst
-%{python3_sitearch}/%{pypi_name}
-%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+%{python3_sitearch}/%{pypi_name}/
+%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%changelog
* Tue Sep 15 2020 Ondřej Pohořelský <opohorel@redhat.com> - 0.2.0-1