]> git.pld-linux.org Git - packages/python-requests_cache.git/commitdiff
rename to python-requests_cache to match python import not pip name
authorElan Ruusamäe <glen@delfi.ee>
Sun, 5 Jun 2016 11:01:41 +0000 (14:01 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 5 Jun 2016 11:03:48 +0000 (14:03 +0300)
python-requests_cache.spec [moved from python-requests-cache.spec with 89% similarity]

similarity index 89%
rename from python-requests-cache.spec
rename to python-requests_cache.spec
index 4d35b24dee2816e24cbeb656d56a44d350c3d161..8d762fa3ab4dac3136f3e0b3fb5bf62e910f294f 100644 (file)
@@ -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
This page took 0.105437 seconds and 4 git commands to generate.