diff --git a/debian.changelog b/debian.changelog deleted file mode 100644 index e35d191..0000000 --- a/debian.changelog +++ /dev/null @@ -1,23 +0,0 @@ -spec-cleaner (0.8.2-1) stable; urgency=low - - * Update to upstream 0.8.2 release - - -- Tomáš Chvátal 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 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 Wed, 13 Apr 2016 15:00:00 +0100 - -spec-cleaner (0.7.9-1) stable; urgency=low - - * Initial Debian release - - -- Přemysl Janouch Tue, 22 Mar 2016 18:00:00 +0100 diff --git a/debian.compat b/debian.compat deleted file mode 100644 index 4511376..0000000 --- a/debian.compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/debian.control b/debian.control deleted file mode 100644 index 4b258ed..0000000 --- a/debian.control +++ /dev/null @@ -1,14 +0,0 @@ -Source: spec-cleaner -Section: devel -Priority: optional -Standards-Version: 3.9.2 -Maintainer: Přemysl Janouch -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. diff --git a/debian.rules b/debian.rules deleted file mode 100644 index 8d1ff0b..0000000 --- a/debian.rules +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/make -f -%: - dh $@ --with python3 --buildsystem=pybuild diff --git a/spec-cleaner-1.0.2.tar.gz b/spec-cleaner-1.0.2.tar.gz deleted file mode 100644 index 093ea85..0000000 --- a/spec-cleaner-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b85b8ccd2bf4e9a9cad20ae8138e6102dee6e41a287a499342f804fc6234ac50 -size 446860 diff --git a/spec-cleaner-1.0.3.tar.gz b/spec-cleaner-1.0.3.tar.gz new file mode 100644 index 0000000..4ab8a6d --- /dev/null +++ b/spec-cleaner-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89fcd65fbb77678aaf3b08e6d3fc87bf1a1b514426d87ea2a1ebbef5568abfa7 +size 449173 diff --git a/spec-cleaner.changes b/spec-cleaner.changes index f2bd219..8950abf 100644 --- a/spec-cleaner.changes +++ b/spec-cleaner.changes @@ -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 diff --git a/spec-cleaner.dsc b/spec-cleaner.dsc deleted file mode 100644 index 7ebc91e..0000000 --- a/spec-cleaner.dsc +++ /dev/null @@ -1,8 +0,0 @@ -Format: 3.0 (quilt) -Source: spec-cleaner -Version: 1.0.1-1 -Binary: spec-cleaner -Maintainer: Tomáš Chvátal -Architecture: all -Build-Depends: debhelper (>= 9), python3-dev, python3-pytest, - python3-pytest-runner, python3-pytest-cov, python3-setuptools, dh-python diff --git a/spec-cleaner.spec b/spec-cleaner.spec index f49dc75..429c619 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -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