Hello community,
here is the log from the commit of package spec-cleaner for openSUSE:Factory checked in at 2016-04-28 16:54:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2016-04-14 13:08:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.spec-cleaner.new/spec-cleaner.changes 2016-04-28 16:56:59.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Apr 14 19:35:58 UTC 2016 - tchvatal@suse.com
+
+- Version update to 0.8.1:
+ * Sort out AUTHORS alphabetically and fix emails
+ * Fix FIXME addition to all ./configure calls
+ * Fix breakage on some buildrequires syntax
+
+-------------------------------------------------------------------
Old:
----
spec-cleaner-0.8.0.tar.gz
New:
----
spec-cleaner-0.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ spec-cleaner.spec ++++++
--- /var/tmp/diff_new_pack.MTNgMq/_old 2016-04-28 16:57:00.000000000 +0200
+++ /var/tmp/diff_new_pack.MTNgMq/_new 2016-04-28 16:57:00.000000000 +0200
@@ -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.8.0
+Version: 0.8.1
Release: 0
Summary: .spec file cleaner
License: BSD-3-Clause
++++++ debian.changelog ++++++
--- /var/tmp/diff_new_pack.MTNgMq/_old 2016-04-28 16:57:00.000000000 +0200
+++ /var/tmp/diff_new_pack.MTNgMq/_new 2016-04-28 16:57:00.000000000 +0200
@@ -1,5 +1,11 @@
spec-cleaner (0.8.0-1) stable; urgency=low
+ * Update to upstream 0.8.1 release
+
+ -- Tomáš Chvátal Thu, 14 Apr 2016 21:30:00 +0100
+
+spec-cleaner (0.8.0-1) stable; urgency=low
+
* Update to upstream 0.8.0 release
-- Tomáš Chvátal Wed, 13 Apr 2016 15:00:00 +0100
++++++ spec-cleaner-0.8.0.tar.gz -> spec-cleaner-0.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec-cleaner-spec-cleaner-0.8.0/AUTHORS new/spec-cleaner-spec-cleaner-0.8.1/AUTHORS
--- old/spec-cleaner-spec-cleaner-0.8.0/AUTHORS 2016-04-12 16:56:38.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.8.1/AUTHORS 2016-04-14 21:24:35.000000000 +0200
@@ -1,6 +1,7 @@
-Vincent Untz
+Martin Pluskal
+Michal Hrusecky
Pavol Rusnak
-Petr Uzel
-Tomas Cech
-Tomas Chvatal
-Michal Hrusecky
+Petr Uzel
+Tomas Cech
+Tomas Chvatal
+Vincent Untz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec-cleaner-spec-cleaner-0.8.0/spec_cleaner/__init__.py new/spec-cleaner-spec-cleaner-0.8.1/spec_cleaner/__init__.py
--- old/spec-cleaner-spec-cleaner-0.8.0/spec_cleaner/__init__.py 2016-04-12 16:56:38.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.8.1/spec_cleaner/__init__.py 2016-04-14 21:24:35.000000000 +0200
@@ -12,7 +12,7 @@
from .rpmcleaner import RpmSpecCleaner
-__version__ = '0.8.0'
+__version__ = '0.8.1'
def process_args(argv):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec-cleaner-spec-cleaner-0.8.0/spec_cleaner/rpmbuild.py new/spec-cleaner-spec-cleaner-0.8.1/spec_cleaner/rpmbuild.py
--- old/spec-cleaner-spec-cleaner-0.8.0/spec_cleaner/rpmbuild.py 2016-04-12 16:56:38.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.8.1/spec_cleaner/rpmbuild.py 2016-04-14 21:24:35.000000000 +0200
@@ -12,11 +12,12 @@
def add(self, line):
# if user uses cmake/configure directly just recommend him using the macros
- if not self.minimal and self.previous_line and \
- not self.previous_line.startswith('# FIXME'):
- if line.startswith('./configure'):
+ if not self.minimal and self.previous_line:
+ if not self.previous_line.startswith('#') and \
+ line.startswith('./configure'):
self.lines.append('# FIXME: you should use the %%configure macro')
- if line.startswith('cmake'):
+ if not self.previous_line.startswith('# FIXME') and \
+ line.startswith('cmake'):
self.lines.append('# FIXME: you should use %%cmake macros')
RpmCheck.add(self, line)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec-cleaner-spec-cleaner-0.8.0/spec_cleaner/rpmpreamble.py new/spec-cleaner-spec-cleaner-0.8.1/spec_cleaner/rpmpreamble.py
--- old/spec-cleaner-spec-cleaner-0.8.0/spec_cleaner/rpmpreamble.py 2016-04-12 16:56:38.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.8.1/spec_cleaner/rpmpreamble.py 2016-04-14 21:24:35.000000000 +0200
@@ -420,7 +420,10 @@
continue
if self.pkgconfig:
token = self._pkgname_to_pkgconfig(token)
- expanded += token
+ if isinstance(token, str):
+ expanded.append(token)
+ else:
+ expanded += token
# Add pkg-config dep if we have in BR or R the pkgconfig(dependency)
if any(item.startswith('pkgconfig(') for item in expanded) \
and not 'pkg-config' in expanded:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec-cleaner-spec-cleaner-0.8.0/tests/in/macros.spec new/spec-cleaner-spec-cleaner-0.8.1/tests/in/macros.spec
--- old/spec-cleaner-spec-cleaner-0.8.0/tests/in/macros.spec 2016-04-12 16:56:38.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.8.1/tests/in/macros.spec 2016-04-14 21:24:35.000000000 +0200
@@ -2,3 +2,5 @@
cmake . \
-DIHATECMAKE=OFF
./configure --with-bells-and-whistles
+# this is not autotools
+./configure --aughr
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec-cleaner-spec-cleaner-0.8.0/tests/out/macros.spec new/spec-cleaner-spec-cleaner-0.8.1/tests/out/macros.spec
--- old/spec-cleaner-spec-cleaner-0.8.0/tests/out/macros.spec 2016-04-12 16:56:38.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.8.1/tests/out/macros.spec 2016-04-14 21:24:35.000000000 +0200
@@ -22,5 +22,7 @@
-DIHATECMAKE=OFF
# FIXME: you should use the %%configure macro
./configure --with-bells-and-whistles
+# this is not autotools
+./configure --aughr
%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec-cleaner-spec-cleaner-0.8.0/tests/out-minimal/macros.spec new/spec-cleaner-spec-cleaner-0.8.1/tests/out-minimal/macros.spec
--- old/spec-cleaner-spec-cleaner-0.8.0/tests/out-minimal/macros.spec 2016-04-12 16:56:38.000000000 +0200
+++ new/spec-cleaner-spec-cleaner-0.8.1/tests/out-minimal/macros.spec 2016-04-14 21:24:35.000000000 +0200
@@ -20,5 +20,7 @@
cmake . \
-DIHATECMAKE=OFF
./configure --with-bells-and-whistles
+# this is not autotools
+./configure --aughr
%changelog
++++++ spec-cleaner.dsc ++++++
--- /var/tmp/diff_new_pack.MTNgMq/_old 2016-04-28 16:57:01.000000000 +0200
+++ /var/tmp/diff_new_pack.MTNgMq/_new 2016-04-28 16:57:01.000000000 +0200
@@ -1,6 +1,6 @@
Format: 3.0 (quilt)
Source: spec-cleaner
-Version: 0.8.0-1
+Version: 0.8.1-1
Binary: spec-cleaner
Maintainer: Přemysl Janouch
Architecture: all