diff options
author | Elan Ruusamäe | 2016-06-05 11:01:41 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2016-06-05 11:03:48 (GMT) |
commit | 0bbbcc47b5cbc0ef2f315bcf2dd8508e28d30fdb (patch) | |
tree | 0aa04cf6eeffa7296345ced6a189f895a28bedeb | |
parent | 2e96db5727c9a7ba04469bd6ccd0e6b2150a927c (diff) | |
download | python-requests_cache-0bbbcc47b5cbc0ef2f315bcf2dd8508e28d30fdb.zip python-requests_cache-0bbbcc47b5cbc0ef2f315bcf2dd8508e28d30fdb.tar.gz |
rename to python-requests_cache to match python import not pip name
-rw-r--r-- | python-requests_cache.spec (renamed from python-requests-cache.spec) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/python-requests-cache.spec b/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 |