[packages/python-requests-mock] fix python3 name

jajcus jajcus at pld-linux.org
Wed Feb 1 11:15:05 CET 2017


commit 233cb9ed4ea6cbab83245e1a5258e1b208a27590
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Wed Feb 1 11:14:24 2017 +0100

    fix python3 name
    
    It should match the python- name.
    Release: 2

 python-requests-mock.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-requests-mock.spec b/python-requests-mock.spec
index 0d73804..2d9bda2 100644
--- a/python-requests-mock.spec
+++ b/python-requests-mock.spec
@@ -10,7 +10,7 @@
 Summary:	Mock out responses from the requests package
 Name:		python-%{pypi_name}
 Version:	1.3.0
-Release:	1
+Release:	2
 License:	Apache
 Group:		Libraries/Python
 Source0:	https://pypi.python.org/packages/8d/cb/1267d7294d97e9a3ef24bf1370791da4d2dc6abc0f67626f38f4bf25dfa3/%{pypi_name}-%{version}.tar.gz
@@ -36,12 +36,12 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 requests-mock provides a building block to stub out the HTTP requests
 portions of your testing code.
 
-%package -n python3-%{module}
+%package -n python3-%{pypi_name}
 Summary:	Mock out responses from the requests package
 Group:		Libraries/Python
 Requires:	python3-modules
 
-%description -n python3-%{module}
+%description -n python3-%{pypi_name}
 requests-mock provides a building block to stub out the HTTP requests
 portions of your testing code.
 
@@ -82,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
-%files -n python3-%{module}
+%files -n python3-%{pypi_name}
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README.rst *.txt
 %{py3_sitescriptdir}/%{module}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-requests-mock.git/commitdiff/233cb9ed4ea6cbab83245e1a5258e1b208a27590



More information about the pld-cvs-commit mailing list