commit a505c87c56d8ef9c28cd9fa1808cefac0e971738 Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Tue Jul 17 19:39:32 2018 +0200
- updated to 4.3.0 - .pdf no longer included in sources, take from external docs on readthedocs.org python-decorator.spec | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) --- diff --git a/python-decorator.spec b/python-decorator.spec index 70d419e..f58dff2 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -8,17 +8,19 @@ Summary: Bunch of nice decorators for Python 2 Summary(pl.UTF-8): Zbiór ładnych dekoratorów dla Pythona 2 Name: python-%{module} -Version: 4.0.11 -Release: 2 +Version: 4.3.0 +Release: 1 License: BSD Group: Libraries/Python -#Source0Download: https://pypi.python.org/simple/decorator/ +#Source0Download: https://pypi.org/simple/decorator/ Source0: https://files.pythonhosted.org/packages/source/d/decorator/%{module}-%{version}.tar.gz -# Source0-md5: 73644c8f0bd4983d1b6a34b49adec0ae -URL: https://pypi.python.org/pypi/decorator/ +# Source0-md5: 249e7299b9b4bced0c382343f84eb1c0 +Source1: http://media.readthedocs.org/pdf/decorator/%{version}/decorator.pdf +# Source1-md5: a9c2e0abcc66ba9533b6ad635408a2f3 +URL: https://pypi.org/project/decorator/ %if %{with python2} -BuildRequires: python-devel >= 1:2.4 -BuildRequires: python-modules >= 1:2.4 +BuildRequires: python-devel >= 1:2.6 +BuildRequires: python-modules >= 1:2.6 BuildRequires: python-setuptools %endif %if %{with python3} @@ -27,7 +29,7 @@ BuildRequires: python3-modules >= 1:3.2 BuildRequires: python3-setuptools %endif BuildRequires: rpm-pythonprov -BuildRequires: rpmbuild(macros) >= 1.710 +BuildRequires: rpmbuild(macros) >= 1.714 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -66,6 +68,8 @@ Dokumentacja modułu decorator w formacie PDF. %prep %setup -q -n %{module}-%{version} +cp -p %{SOURCE1} docs + %build %if %{with python2} %py_build %{?with_tests:test} @@ -110,4 +114,4 @@ rm -rf $RPM_BUILD_ROOT %files doc %defattr(644,root,root,755) -%doc documentation.pdf +%doc docs/decorator.pdf ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/python-decorator.git/commitdiff/a505c87c56d8ef9c28cd9fa1808cefac0e971738 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit