$ git show --format=fuller --patch-with-stat --summary 8c92d37426a15090c3e68f5e16170c5dda535330
commit 8c92d37426a15090c3e68f5e16170c5dda535330
Author: Damian Marcin Szymański <angrypenguinpoland@gmail.com>
AuthorDate: Thu Jun 11 20:33:40 2026 +0200
Commit: Damian Marcin Szymański <angrypenguinpoland@gmail.com>
CommitDate: Thu Jun 11 20:52:05 2026 +0200
update 2.3.2
- update to 2.3.2
- fix source url
- fix license
- fix file list
- remove noarch
- concert to declarative build
- disable debug
---
.abf.yml | 2 +-
python-autopep8.spec | 22 ++++++++--------------
2 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/.abf.yml b/.abf.yml
index 5aba84a..38e8e61 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- autopep8-1.6.0.tar.gz: c79cd225b6660802f2cd04e4770c2fe007814029
+ autopep8-2.3.2.tar.gz: bb4c2f4740f829bb320692676012e8ee02174d40
diff --git a/python-autopep8.spec b/python-autopep8.spec
index 8e538ea..2015af4 100644
--- a/python-autopep8.spec
+++ b/python-autopep8.spec
@@ -1,14 +1,16 @@
+%undefine _debugsource_packages
+
Summary: Automatic Python code formatter
Name: python-autopep8
-Version: 1.6.0
-Release: 6
+Version: 2.3.2
+Release: 1
Group: Development/Python
-License: GPLv2+
+License: MIT
Url: https://github.com/hhatto/autopep8
-Source0: https://files.pythonhosted.org/packages/ec/67/564f7d15712a84d4035aa5ad0b97eeafdeccdb7e806d6a822595bf0ffa5f/autopep8-1.6.0.tar.gz
+Source0: https://files.pythonhosted.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz
BuildRequires: pkgconfig(python3)
BuildRequires: python%{pyver}dist(setuptools)
-BuildArch: noarch
+BuildSystem: python
%description
A tool that automatically formats Python code to conform to the
@@ -17,12 +19,4 @@ PEP 8 style guide.
%files
%{_bindir}/autopep8
%{py_puresitedir}/autopep8*
-
-%prep
-%autosetup -p1 -n autopep8-%{version}
-
-%build
-%py_build
-
-%install
-python setup.py install --root %{buildroot}
+%{python_sitelib}/__pycache__/autopep8.cpython-*.pyc