diff --git a/python-autopep8.spec b/python-autopep8.spec index a17c0a8..0b4b06e 100644 --- a/python-autopep8.spec +++ b/python-autopep8.spec @@ -1,5 +1,5 @@ Name: python-autopep8 -Version: 1.1 +Version: 1.4.3 Release: 1mamba Summary: Automatic generated to pep8 checked code Group: System/Libraries @@ -7,9 +7,11 @@ Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://github.com/hhatto/autopep8 -Source: http://pypi.python.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz +Source: http://pypi.debian.net/autopep8/autopep8-%{version}.tar.gz License: MIT +## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel +## AUTOBUILDREQ-END Requires: python >= %python_version Requires: python-pep8 BuildArch: noarch @@ -19,6 +21,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root autopep8 is automatic generated to pep8 checked code. This is old style tool, wrapped pep8 via subprocess module. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n autopep8-%{version} @@ -35,13 +41,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build --single-version-externally-managed \ --record=%{name}.filelist -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %doc README.rst %changelog +* Fri Dec 28 2018 Silvan Calarco 1.4.3-1mamba +- update to 1.4.3 + * Sat Jan 10 2015 Automatic Build System 1.1-1mamba - automatic update by autodist