forked from pool/spec-cleaner
- 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/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=8
This commit is contained in:
parent
cecca067b3
commit
3901e11ad6
1034
spec-cleaner
1034
spec-cleaner
File diff suppressed because it is too large
Load Diff
BIN
spec-cleaner-0.4.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
spec-cleaner-0.4.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Mar 22 08:51:31 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package spec-cleaner
|
# spec file for package spec-cleaner
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2012 Vincent Untz <vuntz@opensuse.org>
|
# Copyright (c) 2012 Vincent Untz <vuntz@opensuse.org>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -18,14 +18,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: spec-cleaner
|
Name: spec-cleaner
|
||||||
Version: 0.2
|
Version: 0.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: .spec file cleaner
|
Summary: .spec file cleaner
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://gitorious.org/opensuse/spec-cleaner
|
Url: http://github.com/openSUSE/spec-cleaner
|
||||||
Source0: spec-cleaner
|
Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: python
|
||||||
|
BuildRequires: python3
|
||||||
Requires: python-base
|
Requires: python-base
|
||||||
|
Provides: obs-service-format_spec_file = %{version}
|
||||||
|
Obsoletes: obs-service-format_spec_file < %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -35,14 +39,47 @@ results it produces should always be checked by someone since it is not and
|
|||||||
will never be perfect.
|
will never be perfect.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
%check
|
||||||
|
# Fails for now, uncomment with next release
|
||||||
|
#make check -j1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/spec-cleaner
|
make DESTDIR=%{buildroot} install %{?_smp_mflags} \
|
||||||
|
LIBEXECDIR=%{_libexecdir} \
|
||||||
|
LIBDIR=%{_libdir} \
|
||||||
|
SITEDIR=%{python_sitelib} \
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_bindir}/spec-cleaner
|
%{_bindir}/%{name}
|
||||||
|
%dir %{_libexecdir}/obs/
|
||||||
|
%dir %{_libexecdir}/obs/service/
|
||||||
|
%{_libexecdir}/obs/service/format_spec_file
|
||||||
|
%{_libexecdir}/obs/service/format_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
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user