Hello community,

here is the log from the commit of package spec-cleaner for openSUSE:Factory 
checked in at 2014-01-15 16:27:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spec-cleaner (Old)
 and      /work/SRC/openSUSE:Factory/.spec-cleaner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spec-cleaner"

Changes:
--------
--- /work/SRC/openSUSE:Factory/spec-cleaner/spec-cleaner.changes        
2012-03-27 09:13:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.spec-cleaner.new/spec-cleaner.changes   
2014-01-15 16:27:17.000000000 +0100
@@ -1,0 +2,53 @@
+Tue Jan 14 07:12:56 UTC 2014 - tchva...@suse.com
+
+- Add comment on py3 conditional and depend on python-argparse
+
+-------------------------------------------------------------------
+Thu Jan  9 17:35:34 UTC 2014 - tchva...@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 - tchva...@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 - tchva...@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 - tchva...@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 - tchva...@suse.com
+
+- Fix build on fedora as they bytecompile the py
+
+-------------------------------------------------------------------
+Mon Nov 25 10:21:09 UTC 2013 - tchva...@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 - tchva...@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
+
+-------------------------------------------------------------------

Old:
----
  spec-cleaner

New:
----
  spec-cleaner-0.5.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ spec-cleaner.spec ++++++
--- /var/tmp/diff_new_pack.Cj7iUL/_old  2014-01-15 16:27:17.000000000 +0100
+++ /var/tmp/diff_new_pack.Cj7iUL/_new  2014-01-15 16:27:17.000000000 +0100
@@ -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 <vu...@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 @@
 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

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to