Hello community,
here is the log from the commit of package spec-cleaner.14345 for
openSUSE:Leap:15.2:Update checked in at 2020-10-05 14:21:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/spec-cleaner.14345 (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.spec-cleaner.14345.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spec-cleaner.14345"
Mon Oct 5 14:21:29 2020 rev:1 rq:839134 version:1.2.1
Changes:
--------
New Changes file:
--- /dev/null 2020-09-10 00:27:47.435250138 +0200
+++
/work/SRC/openSUSE:Leap:15.2:Update/.spec-cleaner.14345.new.4249/spec-cleaner.changes
2020-10-05 14:21:30.308025423 +0200
@@ -0,0 +1,657 @@
+-------------------------------------------------------------------
+Thu Oct 1 07:30:46 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.2.1 bsc#1099674:
+ * Use Leap 15.2 as a base for data files
+
+-------------------------------------------------------------------
+Wed Aug 26 08:15:04 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- Use %{_prefix}/lib instead of %{_libexecdir}: obs services are
+ explicitly looked for at this location.
+
+-------------------------------------------------------------------
+Tue Jun 16 10:46:32 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.2.0 bsc#1099674:
+ * Fix pypi rewritter to work with wheels
+ * Do not choke on multiline string macros
+
+-------------------------------------------------------------------
+Wed Mar 25 16:58:04 UTC 2020 - Kristyna Streitova <[email protected]>
+
+- 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 12:00:42 UTC 2020 - Kristyna Streitova <[email protected]>
+
+- 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 10:44:59 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.1.7 bsc#1099674:
+ * Fix a duplication with new SUSE copyright line
+ * Exclude all pom_ macros from bracketing
+
+-------------------------------------------------------------------
+Mon Nov 11 14:39:28 UTC 2019 - Kristyna Streitova <[email protected]>
+
+- 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 12:47:05 UTC 2019 - Kristyna Streitova <[email protected]>
+
+- 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 08:17:52 UTC 2019 - Kristyna Streitova <[email protected]>
+
+- 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 7 12:36:28 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- 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 11:34:07 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Version update to 1.1.2 bsc#1099674:
+ * Fixed qmake macro recommendation
+ * More licenses recognised
+ * Do not curlify sysuser_create
+
+-------------------------------------------------------------------
+Mon Aug 20 07:15:54 UTC 2018 - [email protected]
+
+- 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 1 16:06:19 UTC 2018 - [email protected]
+
+- Version update to 1.1.0 bsc#1099674:
+ * Fix issue with previous release not finding datadirs
+
+-------------------------------------------------------------------
+Fri Jun 29 11:19:48 UTC 2018 - [email protected]
+
+- 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 12:38:26 UTC 2018 - [email protected]
+
+- 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 08:08:58 UTC 2018 - [email protected]
+
+- Version update to 1.0.7 bsc#1089297:
+ * Fix haskell macro bracketing
+ * Fix firewalld macros bracketing
+
+-------------------------------------------------------------------
+Tue Mar 6 20:12:02 UTC 2018 - [email protected]
+
+- 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 14:34:58 UTC 2018 - [email protected]
+
+- Fix issue with the %doc -> %license conversion in some complex
+ cases, multiple licenses at once, prefixed licenses
+
+-------------------------------------------------------------------
+Thu Feb 15 09:26:45 UTC 2018 - [email protected]
+
+- 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 10:01:37 UTC 2018 - [email protected]
+
+- 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
+
++++ 460 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Leap:15.2:Update/.spec-cleaner.14345.new.4249/spec-cleaner.changes
New:
----
spec-cleaner-1.2.1.tar.gz
spec-cleaner.changes
spec-cleaner.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ spec-cleaner.spec ++++++
#
# spec file for package spec-cleaner
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2012 Vincent Untz <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: spec-cleaner
Version: 1.2.1
Release: 0
Summary: .spec file cleaner
License: BSD-3-Clause
URL: https://github.com/openSUSE/spec-cleaner
Source0:
https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
BuildRequires: python3-pytest-isort
BuildRequires: python3-pytest-xdist
BuildRequires: python3-setuptools
# For the pkg_resources used in the binary loader
Requires: python3-setuptools
BuildArch: noarch
%description
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.
%package format_spec_file
Summary: Binding replacing OBS service format_spec_file
Requires: %{name} = %{version}
Conflicts: obs-service-format_spec_file
%description format_spec_file
Alternative provider of format_spec_file functionality in order to allow
user to use spec-cleaner rather than to stick to perl based format_spec_file.
%prep
%setup -q -n %{name}-%{name}-%{version}
%build
%python3_build
%check
export LANG=en_US.UTF-8
python3 -m pytest -k "not webtest"
%install
%python3_install
%files
%license COPYING
%{_bindir}/%{name}
%dir %{_prefix}/lib/obs/
%dir %{_prefix}/lib/obs/service/
%{_prefix}/lib/obs/service/clean_spec_file
%{_prefix}/lib/obs/service/clean_spec_file.service
%dir %{python3_sitelib}/spec_cleaner/
%{python3_sitelib}/spec_cleaner/__init__.py
%{python3_sitelib}/spec_cleaner/__main__.py
%{python3_sitelib}/spec_cleaner/dependency_parser.py
%{python3_sitelib}/spec_cleaner/fileutils.py
%{python3_sitelib}/spec_cleaner/rpmbuild.py
%{python3_sitelib}/spec_cleaner/rpmcheck.py
%{python3_sitelib}/spec_cleaner/rpmcleaner.py
%{python3_sitelib}/spec_cleaner/rpmcopyright.py
%{python3_sitelib}/spec_cleaner/rpmdescription.py
%{python3_sitelib}/spec_cleaner/rpmexception.py
%{python3_sitelib}/spec_cleaner/rpmfiles.py
%{python3_sitelib}/spec_cleaner/rpmhelpers.py
%{python3_sitelib}/spec_cleaner/rpminstall.py
%{python3_sitelib}/spec_cleaner/rpmpreamble.py
%{python3_sitelib}/spec_cleaner/rpmpreambleelements.py
%{python3_sitelib}/spec_cleaner/rpmprep.py
%{python3_sitelib}/spec_cleaner/rpmprune.py
%{python3_sitelib}/spec_cleaner/rpmregexp.py
%{python3_sitelib}/spec_cleaner/rpmrequirestoken.py
%{python3_sitelib}/spec_cleaner/rpmpackage.py
%{python3_sitelib}/spec_cleaner/rpmscriplets.py
%{python3_sitelib}/spec_cleaner/rpmsection.py
%{python3_sitelib}/spec_cleaner/__pycache__
%{python3_sitelib}/spec_cleaner-%{version}-py%{py3_ver}.egg-info
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/excludes-bracketing.txt
%{_datadir}/%{name}/licenses_changes.txt
%{_datadir}/%{name}/pkgconfig_conversions.txt
%{_datadir}/%{name}/allowed_groups.txt
%{_datadir}/%{name}/licenses_exceptions.txt
%{_datadir}/%{name}/cmake_conversions.txt
%{_datadir}/%{name}/perl_conversions.txt
%{_datadir}/%{name}/tex_conversions.txt
%files format_spec_file
%{_prefix}/lib/obs/service/format_spec_file
%{_prefix}/lib/obs/service/format_spec_file.service
%changelog