Tomáš Chvátal 2015-09-17 12:42:35 +00:00 committed by Git OBS Bridge
parent 0be0f99b3d
commit 67806d007d
3 changed files with 20 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

@ -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