diff --git a/spec-cleaner-0.7.3.tar.gz b/spec-cleaner-0.7.3.tar.gz deleted file mode 100644 index 8ec7f07..0000000 --- a/spec-cleaner-0.7.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a58632c2639ff4a7884edec68d7a2b26ebebce4415b777ce0e13f73d0c80216c -size 79320 diff --git a/spec-cleaner-0.7.4.tar.gz b/spec-cleaner-0.7.4.tar.gz new file mode 100644 index 0000000..6966f96 --- /dev/null +++ b/spec-cleaner-0.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b24d11d5147c5854aca10d263459c4621e8a302cfe6f5d4a3b8d378d1e59f261 +size 86167 diff --git a/spec-cleaner.spec b/spec-cleaner.spec index 6c59c0b..2da5877 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -20,7 +20,7 @@ # This is used for Fedora, we need to sync this %{!?py3_ver: %define py3_ver %{python3_version}} Name: spec-cleaner -Version: 0.7.3 +Version: 0.7.4 Release: 0 Summary: .spec file cleaner 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 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 %setup -q -n %{name}-%{name}-%{version} @@ -56,7 +66,7 @@ python3 setup.py build python3 setup.py test %install -python3 setup.py install --root="%{buildroot}" +python3 setup.py install --root=%{buildroot} %files %defattr(-, root, root) @@ -89,4 +99,9 @@ python3 setup.py install --root="%{buildroot}" %{_datadir}/%{name}/licenses_changes.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