Accepting request 331748 from openSUSE:Tools

- Version bump to 0.7.4:
  * Use license digger from format_spec_file
  * Provide optional subpkg providing format_spec_file OBS bindings

OBS-URL: https://build.opensuse.org/request/show/331748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=24
This commit is contained in:
Stephan Kulow 2015-09-19 04:55:22 +00:00 committed by Git OBS Bridge
commit 9811baf6a8
4 changed files with 27 additions and 5 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 17 12:48:26 UTC 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 2 08:21:58 UTC 2015 - tchvatal@suse.com Wed Sep 2 08:21:58 UTC 2015 - tchvatal@suse.com

View File

@ -20,7 +20,7 @@
# This is used for Fedora, we need to sync this # This is used for Fedora, we need to sync this
%{!?py3_ver: %define py3_ver %{python3_version}} %{!?py3_ver: %define py3_ver %{python3_version}}
Name: spec-cleaner Name: spec-cleaner
Version: 0.7.3 Version: 0.7.4
Release: 0 Release: 0
Summary: .spec file cleaner Summary: .spec file cleaner
License: BSD-3-Clause License: BSD-3-Clause
@ -41,6 +41,16 @@ 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 results it produces should always be checked by someone since it is not and
will never be perfect. will never be perfect.
%package format_spec_file
Summary: Binding replacing OBS service format_spec_file
Group: Development/Tools/Other
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 %prep
%setup -q -n %{name}-%{name}-%{version} %setup -q -n %{name}-%{name}-%{version}
@ -56,7 +66,7 @@ python3 setup.py build
python3 setup.py test python3 setup.py test
%install %install
python3 setup.py install --root="%{buildroot}" python3 setup.py install --root=%{buildroot}
%files %files
%defattr(-, root, root) %defattr(-, root, root)
@ -89,4 +99,9 @@ python3 setup.py install --root="%{buildroot}"
%{_datadir}/%{name}/licenses_changes.txt %{_datadir}/%{name}/licenses_changes.txt
%{_datadir}/%{name}/pkgconfig_conversions.txt %{_datadir}/%{name}/pkgconfig_conversions.txt
%files format_spec_file
%defattr(-,root,root)
%{_libexecdir}/obs/service/format_spec_file
%{_libexecdir}/obs/service/format_spec_file.service
%changelog %changelog