[packages/python-requests_cache: 3/3] rename to python-requests_cache to match python import not pip name
glen
glen at pld-linux.org
Sun Jun 5 13:04:11 CEST 2016
commit 0bbbcc47b5cbc0ef2f315bcf2dd8508e28d30fdb
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jun 5 14:01:41 2016 +0300
rename to python-requests_cache to match python import not pip name
python-requests-cache.spec => python-requests_cache.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/python-requests-cache.spec b/python-requests_cache.spec
similarity index 89%
rename from python-requests-cache.spec
rename to python-requests_cache.spec
index 4d35b24..8d762fa 100644
--- a/python-requests-cache.spec
+++ b/python-requests_cache.spec
@@ -8,11 +8,11 @@
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
-%define module requests-cache
+%define module requests_cache
Summary: Persistent cache for requests library
Name: python-%{module}
Version: 0.4.12
-Release: 0.1
+Release: 1
License: BSD
Group: Libraries/Python
Source0: https://github.com/reclosedev/requests-cache/archive/v%{version}/%{module}-%{version}.tar.gz
@@ -54,7 +54,7 @@ Requests-cache is a transparent persistent cache for the requests
library.
%prep
-%setup -q -n %{module}-%{version}
+%setup -q -n requests-cache-%{version}
%build
%if %{with python2}
@@ -91,14 +91,14 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README.rst LICENSE
-%{py_sitescriptdir}/requests_cache
-%{py_sitescriptdir}/requests_cache-%{version}*
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}-%{version}*
%endif
%if %{with python3}
%files -n python3-%{module}
%defattr(644,root,root,755)
%doc README.rst LICENSE
-%{py3_sitescriptdir}/requests_cache
-%{py3_sitescriptdir}/requests_cache-%{version}*
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}*
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-requests_cache.git/commitdiff/0bbbcc47b5cbc0ef2f315bcf2dd8508e28d30fdb
More information about the pld-cvs-commit
mailing list