From eada547c7aebdedeb3aa5261ce95af73ee5fc498 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:47:42 +0100 Subject: [PATCH] update to 1.4.3 [release 1.4.3-1mamba;Fri Dec 28 2018] --- python-autopep8.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) 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