]> git.pld-linux.org Git - packages/python3-requests.git/commitdiff
- description cosmetics, python3 epoch
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 3 Oct 2014 16:49:46 +0000 (18:49 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 3 Oct 2014 16:49:46 +0000 (18:49 +0200)
python-requests.spec

index 315ffe69b7f2284ff7c1e80dec83c0803eb48958..4152f71c991f2e2a8413ba585a3af16671eae4c1 100644 (file)
@@ -1,10 +1,11 @@
+#
 # Conditional build:
-%bcond_without  python2         # build python 2 module
-%bcond_without  python3         # build python 3 module
+%bcond_without python2 # CPython 2.x module
+%bcond_without python3 # CPython 3.x module
 #
 %define        module  requests
-Summary:       HTTP library for Python
-Summary(pl.UTF-8):     Biblioteka HTTP dla Pythona
+Summary:       HTTP library for Python 2
+Summary(pl.UTF-8):     Biblioteka HTTP dla Pythona 2
 Name:          python-%{module}
 Version:       2.4.1
 Release:       1
@@ -22,7 +23,7 @@ BuildRequires:        python-urllib3 >= 1.9.1
 %endif
 %if %{with python3}
 BuildRequires: python3-charade
-BuildRequires: python3-modules >= 3.2
+BuildRequires: python3-modules >= 1:3.2
 BuildRequires: python3-urllib3 >= 1.9.1
 %endif
 BuildRequires: rpm-pythonprov
@@ -44,6 +45,8 @@ broken. It requires an enormous amount of work (even method overrides)
 to perform the simplest of tasks. Things shouldn't be this way. Not in
 Python.
 
+This package contains Python 2.x module.
+
 %description -l pl.UTF-8
 Requests to napisana w Pythonie biblioteka HTTP dla ludzi.
 
@@ -53,13 +56,15 @@ zapewnia większość wymaganych możliwości HTTP, ale API jest kiepskie -
 wymaga dużych nakładów pracy (nawet nadpisań metod) do wykonania
 najprostszych zadań. Nie powinno tak być. Nie w Pythonie.
 
+Ten pakiet zawiera moduł dla Pythona 2.x.
+
 %package -n python3-requests
-Summary:       HTTP library, written in Python, for human beings
-Summary(pl.UTF-8):     Biblioteka HTTP library napisana w Pythonie dla ludzi
+Summary:       HTTP library for Python 3
+Summary(pl.UTF-8):     Biblioteka HTTP dla Pythona 3
 Group:         Development/Languages/Python
 Requires:      ca-certificates
 Requires:      python3-charade
-Requires:      python3-modules >= 3.2
+Requires:      python3-modules >= 1:3.2
 Requires:      python3-urllib3 >= 1.9.1
 
 %description -n python3-requests
@@ -72,6 +77,8 @@ broken. It requires an enormous amount of work (even method overrides)
 to perform the simplest of tasks. Things shouldn't be this way. Not in
 Python.
 
+This package contains Python 3.x module.
+
 %description -n python3-requests -l pl.UTF-8
 Requests to napisana w Pythonie biblioteka HTTP dla ludzi.
 
@@ -81,6 +88,8 @@ zapewnia większość wymaganych możliwości HTTP, ale API jest kiepskie -
 wymaga dużych nakładów pracy (nawet nadpisań metod) do wykonania
 najprostszych zadań. Nie powinno tak być. Nie w Pythonie.
 
+Ten pakiet zawiera moduł dla Pythona 3.x.
+
 %prep
 %setup -q -n %{module}-%{version}
 %patch0 -p1
@@ -129,10 +138,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc HISTORY.rst README.rst
 %{py_sitescriptdir}/%{module}
-%if "%{py_ver}" > "2.4"
 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %endif
-%endif
 
 %if %{with python3}
 %files -n python3-requests
This page took 0.125407 seconds and 4 git commands to generate.