summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2022-04-28 15:01:58 (GMT)
committerJakub Bogusz2022-04-28 15:01:58 (GMT)
commit363073a6fe66e6fa5a56d75728b6bf0f5e3e4d13 (patch)
treefab52fe20fdced6c1fb76e33c922c6cc683b3c36
parente0a334f63cfcce90a99ec080cb300a19956ff667 (diff)
downloadpython-smmap-master.zip
python-smmap-master.tar.gz
- added python2 noteHEADmaster
-rw-r--r--python-smmap.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/python-smmap.spec b/python-smmap.spec
index bde9569..baa92af 100644
--- a/python-smmap.spec
+++ b/python-smmap.spec
@@ -8,11 +8,12 @@
Summary: A pure Python implementation of a sliding window memory map manager
Summary(pl.UTF-8): Czysto pythonowa implementacja zarządcy odwzorowania w pamięci z przesuwnym oknem
Name: python-%{module}
+# keep 3.x here for python2 support
Version: 3.0.5
Release: 3
License: BSD
Group: Development/Languages/Python
-#Source0Download: https://github.com/gitpython-developers/smmap/releases
+#Source0Download: https://github.com/gitpython-developers/smmap/tags
Source0: https://github.com/gitpython-developers/smmap/archive/v%{version}/%{module}-%{version}.tar.gz
# Source0-md5: d57faa25108519e16650ec228c1b7bd1
URL: https://github.com/gitpython-developers/smmap
@@ -95,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%dir %{py_sitescriptdir}/smmap
%{py_sitescriptdir}/smmap/*.py[co]
-%{py_sitescriptdir}/smmap*-%{version}-py*.egg-info
+%{py_sitescriptdir}/smmap-%{version}-py*.egg-info
%endif
%if %{with python3}
@@ -104,5 +105,5 @@ rm -rf $RPM_BUILD_ROOT
%dir %{py3_sitescriptdir}/smmap
%{py3_sitescriptdir}/smmap/*.py
%{py3_sitescriptdir}/smmap/__pycache__
-%{py3_sitescriptdir}/smmap*-%{version}-py*.egg-info
+%{py3_sitescriptdir}/smmap-%{version}-py*.egg-info
%endif