Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: spec-cleaner | Distribution: SUSE Linux Enterprise 15 SP6 |
Version: 1.2.2 | Vendor: openSUSE |
Release: bp156.1.1 | Build date: Mon Jan 15 11:30:21 2024 |
Group: Unspecified | Build host: i04-ch3b |
Size: 2461253 | Source RPM: spec-cleaner-1.2.2-bp156.1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/rpm-software-management/spec-cleaner | |
Summary: .spec file cleaner |
This script cleans spec file according to some arbitrary style guide. The results it produces should always be checked by someone since it is not and will never be perfect.
BSD-3-Clause
* Thu Oct 26 2023 Matej Cepl <mcepl@cepl.eu> - Clean up the SPEC file * Wed Oct 25 2023 Kristyna Streitova <kstreitova@suse.com> - Update to 1.2.2 bsc#1099674: * Expand python sitelib glob usage in files * Add new head category for PSP macros * Make flake8 happy and fix C416 * avoid adding curly braces to apparmor_reload * Bump CodeQL Actions version * Do not put curly brackets around python_libalternatives_reset_alternative * Try to fix coveralls in github actions * Update to actions/checkout@v3 and setup-python@v4 * Try to increase timeout for urlopen * Make flake8 and mypy happy * Set headers for urlopen to avoid 403 code * ubuntu-latest doesn't support 3.6 anymore * Replace calls to w3m with calls to curl * move logic that tries to change the URL field to https into _make_secure_url * Fix pep8 errors to pass flake8 tests (#296) * Extend support for patterns (boo#1195092) * update coveralls config * Ignore error N818 from pep8-naming for now * Fix URL expectations on tests * Do not put brackets on %obsolete_legacy_pattern * Fix #287: Incorrect curlification for more systemd-macros * Add new script for rpmlint. * Use github token directly - Remove spec-cleaner-psp-macros.patch that is already included in 1.2.2 release - Install new *.toml files with licenses - Add fix_tests_needing_web_connection.patch to temporarily fix tests that need internet connection that is not available during OBS build. Already fixed upstream in fd0f649 * Tue Oct 24 2023 Dirk Müller <dmueller@suse.com> - add spec-cleaner-psp-macros.patch to avoid spec-cleaner rewriting the location of the psp macro * Thu Jun 17 2021 Atilla ÖNTAŞ <tarakbumba@gmail.com> - Fix: Use Mageia specific macro for Mageia builds in spec file * Tue Nov 17 2020 John Vandenberg <jayvdb@gmail.com> - Update URLs - Remove build dependencies on unnecessary pytest plugins * Thu Oct 01 2020 Tomáš Chvátal <tchvatal@suse.com> - Update to 1.2.1 bsc#1099674: * Use Leap 15.2 as a base for data files * Wed Aug 26 2020 Dominique Leuenberger <dimstar@opensuse.org> - Use %{_prefix}/lib instead of %{_libexecdir}: obs services are explicitly looked for at this location. * Tue Jun 16 2020 Tomáš Chvátal <tchvatal@suse.com> - Update to 1.2.0 bsc#1099674: * Fix pypi rewritter to work with wheels * Do not choke on multiline string macros * Wed Mar 25 2020 Kristyna Streitova <kstreitova@suse.com> - Update to 1.1.9 bsc#1099674: * Add builtin and comprehensions to catch tad more issues * Do not add FIXME comments for already commented lines * Add the article to the comment * Exclude mysql_testserver calls from bracketing * Do not curlify systemd_ordering macro * Ignore dephell setup generator macro from bracketing * Use github actions and drop travis and tox * Use pre-commit framework for the project (it runs black, flake8, flake8-docstrings and mypy on every commit) * Update README * Add %{dephell_gensetup} macro instead of the full call to dephell com * Thu Jan 30 2020 Kristyna Streitova <kstreitova@suse.com> - Update to 1.1.8 bsc#1099674: * Change libexecdir substitution to do /usr/libexec to %{_libexecdir} * Exclude apache_rex_check from bracketing * Add testscase for boolean dependencies that gets mangled currently * Do not remove -p0 from autosetup * Use %make_build if possible issue * Teach spec-cleaner to not break the %elif* macros added with rpm 4.15 * Fixup the nested boolean dependencies * Fixup whitespace reported by flake8 * Set explicit urllib timeout issue * Replace more stuff for %make build * Thu Nov 14 2019 Tomáš Chvátal <tchvatal@suse.com> - Update to 1.1.7 bsc#1099674: * Fix a duplication with new SUSE copyright line * Exclude all pom_ macros from bracketing * Mon Nov 11 2019 Kristyna Streitova <kstreitova@suse.com> - Update to 1.1.6 bsc#1099674: * Do not remove groups by default. Now, groups are kept untouched by default. Introduce a new option '--remove-groups' that removes Group tags from the specfile. Remove '--preserve_groups' option. * Say goodbye to setup.py test usage as it is deprecated * Update the copyring and SUSE header string wrt #264 * Ignore hpc_configure macro from bracketing * Thu Sep 26 2019 Kristyna Streitova <kstreitova@suse.com> - Update to 1.1.5 bsc#1099674: * Use https in URL in spec-cleaner.spec test * Remove duplicated backslash in regexp * Parallelize test run * Add jupyter_move_config to excludes from bracketing * Do not fail if URL is ftp:// or other protocol * Make xdist enabled by default on all test runs and add xdist to deps * By default remove groups from packages - remove spec-cleaner-1.1.4_test_https.patch that is no longer needed * Wed Jul 17 2019 Kristyna Streitova <kstreitova@suse.com> - Update to 1.1.4 bsc#1099674: * Exclude stuff from openstack macros * Replace 'http' with 'https' in URL * Replace legacy packageand() with 'and' expression * Replace pwdutils with shadow in Requires * Add openstack_cleanup_prep to bracketing excludes * Do not curlify yast_metainfo and yast_check * Fixup the eating of Source lines with whitespace * Document '#nospeccleaner' tag * Add docstrings to the functions and classes. * Use type hints for the most important functions * Update README and licences * Various small fixes - add a temporary patch spec-cleaner-1.1.4_test_https.patch that fixes a test that fails if there is no internet connection * Thu Mar 07 2019 Tomáš Chvátal <tchvatal@suse.com> - Update to 1.1.3 bsc#1099674: * Convert pytest calls to macros * Fix errors in %python_expand line expansions * update licenses list * Expand more excludes for curlification * Do not add accidental newlines to complex conditions * Thu Dec 13 2018 Tomáš Chvátal <tchvatal@suse.com> - Version update to 1.1.2 bsc#1099674: * Fixed qmake macro recommendation * More licenses recognised * Do not curlify sysuser_create * Mon Aug 20 2018 tchvatal@suse.com - Version update to 1.1.1 bsc#1099674: * Fix help message not working * Make libexecdir opt-in rather than opt-out * Account for LICENCE string not just LICENSE * Warn about direct qmake/meson usage * Use https when mentioning bugzilla in header * Use tuples on some places rather than lists * Sun Jul 01 2018 tchvatal@suse.com - Version update to 1.1.0 bsc#1099674: * Fix issue with previous release not finding datadirs * Fri Jun 29 2018 tchvatal@suse.com - Version uppdate to 1.0.9 bsc#1099674: * Move some checks from rpmlint to be autochecked * Dropped support of py2 * Fixed error reported on parsing non-utf spec-file * Leap 15.0 used as base for conversions to pkgconfig/etc. * Fri May 11 2018 tchvatal@suse.com - Version update to 1.0.8 bsc#1092933: * Be case insensitive on license detection * Exclude limit_build from bracketing * Replace _libexecdir as we now do not really bother about SLE11 * Thu Apr 12 2018 tchvatal@suse.com - Version update to 1.0.7 bsc#1089297: * Fix haskell macro bracketing * Fix firewalld macros bracketing * Tue Mar 06 2018 tchvatal@suse.com - Version update to 1.0.6 release: * Fixes license conversions to spdx3.0 * Allows better parsing of pattern packages * Various manpage suffixing fixes * Added more things to exclude bracketing * Wed Feb 28 2018 tchvatal@suse.com - Fix issue with the %doc -> %license conversion in some complex cases, multiple licenses at once, prefixed licenses * Thu Feb 15 2018 tchvatal@suse.com - Drop the debian control things, all releases fail to build - Update to 1.0.3: * Fix various lint issues * Switch to SPDX-3.0 license format * Add %doc -> %license conversion script * Fix crash bugs found when scanning whole Tumbleweed repo * Tue Jan 23 2018 tchvatal@suse.com - Version update to 1.0.2 bsc#1077177: * Allow changelog-year specification via cmdline * Switch to pytest * Add groups for rust * Fix bug in otherprovides removal * Wed Dec 06 2017 tchvatal@suse.com - Version update to 1.0.1 bsc#1071561: * Recognize new rpm trgger* events * Remove otherproviders conflicts syntax (just keep the pkg name) * Detect more apache macros * Drop py_requires macro that is useless * Tue Sep 26 2017 tchvatal@suse.com - Version update to 1.0.0 bsc#1060402: * Recognise the BuildConflicts tag * Fix few make parsing errors * Fix some codeblock error detection * More path replacements detection * Keep uppercase URL tag as per vote * Wed Aug 09 2017 tchvatal@suse.com - Version update to 0.9.9: * Include pkgconfig and others from leap 42.3 instead of 42.2 * Thu Jun 29 2017 tchvatal@suse.com - Version update to 0.9.8 bsc#1046652: * Various fixes as reported on github * Remove defattr as default from new rpm should be enough * Remove buildroot as new rpms do not need it at all * Mon Jun 12 2017 tchvatal@suse.com - Version update to 0.9.7: * Fix help parsing that crashed the app on execution * Thu Jun 08 2017 tchvatal@suse.com - Version update to 0.9.6: * Deduplication of requires/buildrequires * Preamble detection fixups * Detect buildignores * Wed May 17 2017 tchvatal@suse.com - Version update to 0.9.5: * More fixes for the dep_parser * Convert pypy urls to new format * Start of rpmpreamble cleanup * Sat Apr 08 2017 tchvatal@suse.com - Version update to 0.9.4: * Fixes in the dep_parser * Vertical whitespace is now safeguarded * More excludes_bracketing * Update list of known licenses * Mon Feb 27 2017 mpluskal@suse.com - Update to version 0.9.3: * Fix regression (gh#openSUSE/spec-cleaner#171) * Mon Feb 13 2017 tchvatal@suse.com - Version update to 0.9.2: * More minimal fixes * Add option to keep vertical space in preamble if desired * Fri Dec 30 2016 tchvatal@suse.com - Version update to 0.9.1: * Switch from regexp macro detection to full-blown parser to avoid bugs * Thu Jun 30 2016 tchvatal@suse.com - Version update to 0.9.0: * Various small fixes * Support for tex/perl/cmake conversions: + bla-devel -> cmake(bla) * Mon Jun 06 2016 tchvatal@suse.com - Version update to 0.8.9: * Fix one more virtualenv issue * Fix one case of broken requires splitting * Properly initialize unbracketing in regexps * Fix one more case of double pkg-config dependency * Thu May 19 2016 tchvatal@suse.com - Version update to 0.8.8: * Various install fixes for pypi * Few small fixes for copyiright parsing * Add ghc_ macros to known exclude for bracketing * Wed May 11 2016 tchvatal@suse.com - Version update to 0.8.5: * Fix for pkgconfig adding in preamble section * Wed May 11 2016 tchvatal@suse.com - Version update to 0.8.4: * 0.8.3 skipped due to pypi mistake * set suffix for manpages/infopages * remove suse_update_config * remove more authors blobs * redo options passing to be more readable * split out testsuite (now runs ~270 tests) * few bracketing excludes updates * Fix the no-header option to do what everyone would expect * Fri Apr 29 2016 tchvatal@suse.com - Version update to 0.8.2: * Add switch to disable copyright generating * Few small fixes * Tweak pkgconfig addition to work on all distros not just openSUSE * Thu Apr 14 2016 tchvatal@suse.com - Version update to 0.8.1: * Sort out AUTHORS alphabetically and fix emails * Fix FIXME addition to all ./configure calls * Fix breakage on some buildrequires syntax * Wed Apr 13 2016 tchvatal@suse.com - Version update to 0.8.0: * Various bugfixes to the functionality * Add fixme to plain ./configure macro * Add pkgconfig dependency if needed * Add tests for all exclude_bracketing rules * Wed Mar 23 2016 pjanouch@suse.de - Added build files for Debian * Thu Mar 03 2016 tchvatal@suse.com - Version update to 0.7.9: * Fix bug in %if detection if it was curlified * Add one more case of RPM_BUILD_ROOT replacement * Detect wrong Group values and suggest correct ones * Wed Feb 17 2016 tchvatal@suse.com - Version update to 0.7.8: * Various tweaks for the minimal mode * Fixed issue with eating up newline after oneline scriptlets * Added one more case for section declarations * Tue Feb 09 2016 tchvatal@suse.com - Version update to 0.7.7: * fix oneline scriptlets from previous version * Few small fixes * Minimal mode expansion to work reliably as format_spec_file replacement * Fri Jan 22 2016 tchvatal@suse.com - Version update to 0.7.5: * Replace jobs in install section too * Do not curlify gconf_schemas * Work with defines in sections not just as global declarations * Quote optflags properly when replacing RPM_OPT_FLAGS * Do not add empty line after oneline scriptlet * Thu Sep 17 2015 tchvatal@suse.com - Version bump to 0.7.4: * Use license digger from format_spec_file * Provide optional subpkg providing format_spec_file OBS bindings * Wed Sep 02 2015 tchvatal@suse.com - Version bump to 0.7.3: * Fix wrong bracketing of kernel_module macro * Fri Jun 26 2015 tchvatal@suse.com - Version bump to 0.7.2: * Do not curlify %20 which is usually space in Source lines * Few more excludes for bracket * Bunch of small fixes * Tue Jun 09 2015 tchvatal@suse.com - Version bump to 0.7.1: * Fix %config(noreplace) curlification (bnc#934059) * Preparation for more path replacements * Wed Jun 03 2015 tchvatal@suse.com - Version bump to 0.7.0: * Various small code cleanups and readability improvemnets * Better macro detection to allow braces in macros * Fix minimal mode appending empty lines in some cases * Various additional bracketing excludes * Thu Apr 16 2015 tchvatal@suse.com - Version bump to 0.6.9: * Replace => with >= * Bracketing excludes * Replace paths using regexps instead of hardcoding (more cases covered) * Remove various obsolete tags from preamble Icon/Packager/... * Fix RPM_BUILD_ROOT replacement cornercase failure * Remove %doc from %_mandir paths as it is pointless to have there * Tue Feb 10 2015 tchvatal@suse.com - Version bump to 0.6.8: * The copyright line broke test, so update again to fix that * Tue Feb 10 2015 tchvatal@suse.com - Version bump to 0.6.7: * Update copyright line to match current SUSE one * Tue Feb 10 2015 tchvatal@suse.com - Version bump to 0.6.6: * Excludes for java qmake gem_ and kde macros * Cleanup conflicts lines properly * Cleanup kernel subpkgs properly * Work with spaces in version string * Mon Dec 08 2014 tchvatal@suse.com - Version bump to 0.6.5: * Fix vertical spacing around nested conditionals * Fix issue with bogus %lang detection * Sat Nov 15 2014 tchvatal@suse.com - Remove PKGBUILD until service-download_files is fixed to work fine with them - Version bump to 0.6.4: * Various small fixes and macro expansion.
/usr/bin/spec-cleaner /usr/lib/obs /usr/lib/obs/service /usr/lib/obs/service/clean_spec_file /usr/lib/obs/service/clean_spec_file.service /usr/lib/python3.6/site-packages/spec_cleaner /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info/AUTHORS /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info/COPYING /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info/INSTALLER /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info/METADATA /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info/RECORD /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info/WHEEL /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info/entry_points.txt /usr/lib/python3.6/site-packages/spec_cleaner-1.2.2.dist-info/top_level.txt /usr/lib/python3.6/site-packages/spec_cleaner/__init__.py /usr/lib/python3.6/site-packages/spec_cleaner/__main__.py /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__ /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/__init__.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/__main__.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/__main__.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/dependency_parser.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/dependency_parser.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/fileutils.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/fileutils.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmbuild.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmbuild.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmcheck.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmcheck.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmcleaner.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmcleaner.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmcopyright.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmcopyright.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmdescription.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmdescription.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmexception.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmexception.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmfiles.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmfiles.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmhelpers.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmhelpers.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpminstall.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpminstall.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmpackage.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmpackage.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmpreamble.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmpreamble.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmpreambleelements.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmpreambleelements.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmprep.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmprep.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmprune.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmprune.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmregexp.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmregexp.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmrequirestoken.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmrequirestoken.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmscriplets.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmscriplets.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmsection.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/spec_cleaner/__pycache__/rpmsection.cpython-36.pyc /usr/lib/python3.6/site-packages/spec_cleaner/dependency_parser.py /usr/lib/python3.6/site-packages/spec_cleaner/fileutils.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmbuild.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmcheck.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmcleaner.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmcopyright.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmdescription.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmexception.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmfiles.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmhelpers.py /usr/lib/python3.6/site-packages/spec_cleaner/rpminstall.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmpackage.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmpreamble.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmpreambleelements.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmprep.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmprune.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmregexp.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmrequirestoken.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmscriplets.py /usr/lib/python3.6/site-packages/spec_cleaner/rpmsection.py /usr/share/licenses/spec-cleaner /usr/share/licenses/spec-cleaner/COPYING /usr/share/spec-cleaner /usr/share/spec-cleaner/allowed_groups.txt /usr/share/spec-cleaner/cmake_conversions.txt /usr/share/spec-cleaner/excludes-bracketing.txt /usr/share/spec-cleaner/licenses-suse.toml /usr/share/spec-cleaner/licenses.toml /usr/share/spec-cleaner/licenses_changes.txt /usr/share/spec-cleaner/licenses_exceptions.txt /usr/share/spec-cleaner/perl_conversions.txt /usr/share/spec-cleaner/pkgconfig_conversions.txt /usr/share/spec-cleaner/tex_conversions.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 19:58:50 2024