Accepting request 576937 from openSUSE:Tools

- 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

OBS-URL: https://build.opensuse.org/request/show/576937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=48
This commit is contained in:
Dominique Leuenberger 2018-02-21 13:11:08 +00:00 committed by Git OBS Bridge
commit d161aec267
9 changed files with 16 additions and 66 deletions

View File

@ -1,23 +0,0 @@
spec-cleaner (0.8.2-1) stable; urgency=low
* Update to upstream 0.8.2 release
-- Tomáš Chvátal <tchvatal@suse.cz> Thu, 29 Apr 2016 22:30:00 +0100
spec-cleaner (0.8.1-1) stable; urgency=low
* Update to upstream 0.8.1 release
-- Tomáš Chvátal <tchvatal@suse.cz> Thu, 14 Apr 2016 21:30:00 +0100
spec-cleaner (0.8.0-1) stable; urgency=low
* Update to upstream 0.8.0 release
-- Tomáš Chvátal <tchvatal@suse.cz> Wed, 13 Apr 2016 15:00:00 +0100
spec-cleaner (0.7.9-1) stable; urgency=low
* Initial Debian release
-- Přemysl Janouch <pjanouch@suse.de> Tue, 22 Mar 2016 18:00:00 +0100

View File

@ -1 +0,0 @@
9

View File

@ -1,14 +0,0 @@
Source: spec-cleaner
Section: devel
Priority: optional
Standards-Version: 3.9.2
Maintainer: Přemysl Janouch <pjanouch@suse.de>
Build-Depends: debhelper (>= 9), python3-dev, python3-mock, python3-nose,
python3-setuptools, dh-python
Package: spec-cleaner
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}
Conflicts: obs-service-format-spec-file
Description: RPM .spec files cleaner
Command-line tool for cleaning various formatting errors in RPM .spec files.

View File

@ -1,3 +0,0 @@
#!/usr/bin/make -f
%:
dh $@ --with python3 --buildsystem=pybuild

BIN
spec-cleaner-1.0.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
spec-cleaner-1.0.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 15 09:26:45 UTC 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 10:01:37 UTC 2018 - tchvatal@suse.com

View File

@ -1,8 +0,0 @@
Format: 3.0 (quilt)
Source: spec-cleaner
Version: 1.0.1-1
Binary: spec-cleaner
Maintainer: Tomáš Chvátal <tchvatal@suse.com>
Architecture: all
Build-Depends: debhelper (>= 9), python3-dev, python3-pytest,
python3-pytest-runner, python3-pytest-cov, python3-setuptools, dh-python

View File

@ -17,21 +17,14 @@
#
# This is used for Fedora, we need to sync this
%{!?py3_ver: %define py3_ver %{python3_version}}
Name: spec-cleaner
Version: 1.0.2
Version: 1.0.3
Release: 0
Summary: .spec file cleaner
License: BSD-3-Clause
Group: Development/Tools/Other
Url: http://github.com/openSUSE/spec-cleaner
Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz
Source1: debian.changelog
Source2: debian.compat
Source3: debian.control
Source4: debian.rules
Source5: %{name}.dsc
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
@ -59,11 +52,6 @@ user to use spec-cleaner rather than to stick to perl based format_spec_file.
%prep
%setup -q -n %{name}-%{name}-%{version}
# set libexec properly so it works on Fedora too
sed -i \
-e 's:%{_prefix}/lib/obs/:%{_libexecdir}/obs/:g' \
setup.py
%build
python3 setup.py build
@ -74,6 +62,7 @@ python3 setup.py test
python3 setup.py install --root=%{buildroot}
%files
%license COPYING
%{_bindir}/%{name}
%dir %{_libexecdir}/obs/
%dir %{_libexecdir}/obs/service/
@ -109,7 +98,7 @@ python3 setup.py install --root=%{buildroot}
%{_datadir}/%{name}/licenses_changes.txt
%{_datadir}/%{name}/pkgconfig_conversions.txt
%{_datadir}/%{name}/allowed_groups.txt
%{_datadir}/%{name}/licences_exceptions.txt
%{_datadir}/%{name}/licenses_exceptions.txt
%{_datadir}/%{name}/cmake_conversions.txt
%{_datadir}/%{name}/perl_conversions.txt
%{_datadir}/%{name}/tex_conversions.txt