forked from pool/spec-cleaner
Accepting request 246811 from openSUSE:Tools
- py3 include arpgarse itself. - Version bump to 0.6.1: * Fixup release with working spec-cleaner script executable - Version bump to 0.6.0: * Use setuptools and nosetests for building&testing * Various bugfixes as found by java icedtea cleaning OBS-URL: https://build.opensuse.org/request/show/246811 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spec-cleaner?expand=0&rev=12
This commit is contained in:
commit
168ea7f0bb
BIN
spec-cleaner-0.5.9.tar.gz
(Stored with Git LFS)
BIN
spec-cleaner-0.5.9.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
spec-cleaner-0.6.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
spec-cleaner-0.6.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 29 10:46:17 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- py3 include arpgarse itself.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 13 12:28:45 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version bump to 0.6.1:
|
||||||
|
* Fixup release with working spec-cleaner script executable
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 13 12:09:35 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version bump to 0.6.0:
|
||||||
|
* Use setuptools and nosetests for building&testing
|
||||||
|
* Various bugfixes as found by java icedtea cleaning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 8 11:32:40 UTC 2014 - tchvatal@suse.com
|
Tue Jul 8 11:32:40 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -18,23 +18,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: spec-cleaner
|
Name: spec-cleaner
|
||||||
Version: 0.5.9
|
Version: 0.6.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://github.com/openSUSE/spec-cleaner
|
Url: http://github.com/openSUSE/spec-cleaner
|
||||||
Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz
|
Source0: https://github.com/openSUSE/%{name}/archive/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: python
|
BuildRequires: python3-mock
|
||||||
Requires: python-argparse
|
BuildRequires: python3-nose
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
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
|
%description
|
||||||
This script cleans spec file according to some arbitrary style guide. The
|
This script cleans spec file according to some arbitrary style guide. The
|
||||||
@ -45,15 +40,13 @@ will never be perfect.
|
|||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
python3 setup.py build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check -j1
|
python3 setup.py test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} \
|
python3 setup.py install --root="%{buildroot}"
|
||||||
LIBEXECDIR=%{_libexecdir} \
|
|
||||||
LIBDIR=%{_libdir} \
|
|
||||||
SITEDIR=%{python_sitelib}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -62,23 +55,25 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} \
|
|||||||
%dir %{_libexecdir}/obs/service/
|
%dir %{_libexecdir}/obs/service/
|
||||||
%{_libexecdir}/obs/service/clean_spec_file
|
%{_libexecdir}/obs/service/clean_spec_file
|
||||||
%{_libexecdir}/obs/service/clean_spec_file.service
|
%{_libexecdir}/obs/service/clean_spec_file.service
|
||||||
%dir %{python_sitelib}/spec_cleaner/
|
%dir %{python3_sitelib}/spec_cleaner/
|
||||||
%{python_sitelib}/spec_cleaner/__init__.py*
|
%{python3_sitelib}/spec_cleaner/__init__.py
|
||||||
%{python_sitelib}/spec_cleaner/fileutils.py*
|
%{python3_sitelib}/spec_cleaner/fileutils.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmbuild.py*
|
%{python3_sitelib}/spec_cleaner/rpmbuild.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmcheck.py*
|
%{python3_sitelib}/spec_cleaner/rpmcheck.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmcleaner.py*
|
%{python3_sitelib}/spec_cleaner/rpmcleaner.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmcopyright.py*
|
%{python3_sitelib}/spec_cleaner/rpmcopyright.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmdescription.py*
|
%{python3_sitelib}/spec_cleaner/rpmdescription.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmexception.py*
|
%{python3_sitelib}/spec_cleaner/rpmexception.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmfiles.py*
|
%{python3_sitelib}/spec_cleaner/rpmfiles.py
|
||||||
%{python_sitelib}/spec_cleaner/rpminstall.py*
|
%{python3_sitelib}/spec_cleaner/rpminstall.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmpreamble.py*
|
%{python3_sitelib}/spec_cleaner/rpmpreamble.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmprep.py*
|
%{python3_sitelib}/spec_cleaner/rpmprep.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmprune.py*
|
%{python3_sitelib}/spec_cleaner/rpmprune.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmregexp.py*
|
%{python3_sitelib}/spec_cleaner/rpmregexp.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmscriplets.py*
|
%{python3_sitelib}/spec_cleaner/rpmscriplets.py
|
||||||
%{python_sitelib}/spec_cleaner/rpmsection.py*
|
%{python3_sitelib}/spec_cleaner/rpmsection.py
|
||||||
|
%{python3_sitelib}/spec_cleaner/__pycache__
|
||||||
|
%{python3_sitelib}/spec_cleaner-%{version}-py%{py3_ver}.egg-info
|
||||||
%dir %{_datadir}/%{name}/
|
%dir %{_datadir}/%{name}/
|
||||||
%{_datadir}/%{name}/excludes-bracketing.txt
|
%{_datadir}/%{name}/excludes-bracketing.txt
|
||||||
%{_datadir}/%{name}/licenses_changes.txt
|
%{_datadir}/%{name}/licenses_changes.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user