Accepting request 213824 from openSUSE:Tools
- Add comment on py3 conditional and depend on python-argparse - Version bump to 0.5.3: + Various parser fixes and extended testsuite coverage thanks to reports from packagers team. - Version bump to 0.5.2: + Fixes issues found while parsing libreoffice + Fixes issues 4 and 3 on github - Version bump to 0.5.1: + Fixes the conditionals placement and makes all tests pass. - Version bump to 0.4.2: + fix inlining + fix service shell script + rename obs service to different from format_spec_file - Fix build on fedora as they bytecompile the py - Version bump to 0.4.1 + Fixes to actually be able to parse own specfile. - Version bump to 0.4.0: + Add extensive testsuite + Split the code for readability purposes + Mimic all the functionality from prep_spec + Provide and obsolete obs-service-format_spec_file OBS-URL: https://build.opensuse.org/request/show/213824 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=5
This commit is contained in:
commit
72bb4ea235
1034
spec-cleaner
1034
spec-cleaner
File diff suppressed because it is too large
Load Diff
BIN
spec-cleaner-0.5.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
spec-cleaner-0.5.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,56 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 07:12:56 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Add comment on py3 conditional and depend on python-argparse
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 9 17:35:34 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 0.5.3:
|
||||
+ Various parser fixes and extended testsuite coverage
|
||||
thanks to reports from packagers team.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 12:33:05 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 0.5.2:
|
||||
+ Fixes issues found while parsing libreoffice
|
||||
+ Fixes issues 4 and 3 on github
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 3 11:36:28 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 0.5.1:
|
||||
+ Fixes the conditionals placement and makes all tests pass.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 29 11:27:00 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 0.4.2:
|
||||
+ fix inlining
|
||||
+ fix service shell script
|
||||
+ rename obs service to different from format_spec_file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 12:15:14 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Fix build on fedora as they bytecompile the py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 10:21:09 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 0.4.1
|
||||
+ Fixes to actually be able to parse own specfile.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 09:37:39 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Version bump to 0.4.0:
|
||||
+ Add extensive testsuite
|
||||
+ Split the code for readability purposes
|
||||
+ Mimic all the functionality from prep_spec
|
||||
+ Provide and obsolete obs-service-format_spec_file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 22 08:51:31 UTC 2012 - saschpe@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package spec-cleaner
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Vincent Untz <vuntz@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -18,16 +18,23 @@
|
||||
|
||||
|
||||
Name: spec-cleaner
|
||||
Version: 0.2
|
||||
Version: 0.5.3
|
||||
Release: 0
|
||||
Summary: .spec file cleaner
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Tools/Other
|
||||
Url: http://gitorious.org/opensuse/spec-cleaner
|
||||
Source0: spec-cleaner
|
||||
Requires: python-base
|
||||
Url: http://github.com/openSUSE/spec-cleaner
|
||||
Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
BuildRequires: python
|
||||
Requires: python-argparse
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
# This is just for tests
|
||||
# It is conditional so we built on older distros too
|
||||
# Drop after 12.2 and older are not targeted here
|
||||
%if 0%{?suse_version} > 01220
|
||||
BuildRequires: python3
|
||||
%endif
|
||||
|
||||
%description
|
||||
This script cleans spec file according to some arbitrary style guide. The
|
||||
@ -35,14 +42,46 @@ results it produces should always be checked by someone since it is not and
|
||||
will never be perfect.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%check
|
||||
make check -j1
|
||||
|
||||
%install
|
||||
install -D -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/spec-cleaner
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} \
|
||||
LIBEXECDIR=%{_libexecdir} \
|
||||
LIBDIR=%{_libdir} \
|
||||
SITEDIR=%{python_sitelib}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/spec-cleaner
|
||||
%{_bindir}/%{name}
|
||||
%dir %{_libexecdir}/obs/
|
||||
%dir %{_libexecdir}/obs/service/
|
||||
%{_libexecdir}/obs/service/clean_spec_file
|
||||
%{_libexecdir}/obs/service/clean_spec_file.service
|
||||
%dir %{python_sitelib}/spec_cleaner/
|
||||
%{python_sitelib}/spec_cleaner/__init__.py*
|
||||
%{python_sitelib}/spec_cleaner/fileutils.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmbuild.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmcheck.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmcleaner.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmcopyright.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmdescription.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmexception.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmfiles.py*
|
||||
%{python_sitelib}/spec_cleaner/rpminstall.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmpreamble.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmprep.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmprune.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmregexp.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmscriplets.py*
|
||||
%{python_sitelib}/spec_cleaner/rpmsection.py*
|
||||
%dir %{_datadir}/%{name}/
|
||||
%{_datadir}/%{name}/excludes-bracketing.txt
|
||||
%{_datadir}/%{name}/licenses_changes.txt
|
||||
%{_datadir}/%{name}/pkgconfig_conversions.txt
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user