Hello community, here is the log from the commit of package pbzip2 for openSUSE:Factory checked in at 2016-07-05 09:52:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pbzip2 (Old) and /work/SRC/openSUSE:Factory/.pbzip2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pbzip2" Changes: -------- --- /work/SRC/openSUSE:Factory/pbzip2/pbzip2.changes 2016-02-22 08:58:27.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pbzip2.new/pbzip2.changes 2016-07-05 09:52:11.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Jul 3 15:21:59 UTC 2016 - [email protected] + +- Simplify building +- Use both optflags and default CXXFLAGS + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pbzip2.spec ++++++ --- /var/tmp/diff_new_pack.0G94RU/_old 2016-07-05 09:52:12.000000000 +0200 +++ /var/tmp/diff_new_pack.0G94RU/_new 2016-07-05 09:52:12.000000000 +0200 @@ -41,26 +41,16 @@ %patch3 %build -make %{?_smp_mflags} \ - CXXFLAGS="%{optflags} -Wall" \ - PREFIX="%{_prefix}" \ - BINDIR="%{_bindir}" \ - MANDIR="%{_mandir}" \ - all +make %{?_smp_mflags} CXXFLAGS="%{optflags} -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" %install -make \ - DESTDIR=%{buildroot} \ - PREFIX="%{_prefix}" \ - BINDIR="%{_bindir}" \ - MANDIR="%{_mandir}" \ - install +%make_install for x in pbunzip2 pbzcat; do ln -s "pbzip2.1%{ext_man}" "%{buildroot}%{_mandir}/man1/${x}.1%{ext_man}" done -install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_sysconfdir}/rpm/macros.%{name}" +install -D -p -m 0644 "%{SOURCE1}" "%{buildroot}%{_sysconfdir}/rpm/macros.%{name}" sed -i 's|@@BINDIR@@|%{_bindir}|g' "%{buildroot}%{_sysconfdir}/rpm/macros.%{name}" %files ++++++ pbzip2-fix_unused_result.patch ++++++ --- /var/tmp/diff_new_pack.0G94RU/_old 2016-07-05 09:52:12.000000000 +0200 +++ /var/tmp/diff_new_pack.0G94RU/_new 2016-07-05 09:52:12.000000000 +0200 @@ -2,7 +2,7 @@ =================================================================== --- pbzip2.cpp.orig +++ pbzip2.cpp -@@ -2238,7 +2238,17 @@ int directdecompress(const char *InFilen +@@ -2233,7 +2233,17 @@ int directdecompress(const char *InFilen return ret; } if (nread > 0) @@ -21,7 +21,7 @@ if (ferror(stream)) { ret = testBZ2ErrorHandling(bzerr, bzf, streamNo); -@@ -2259,7 +2269,17 @@ int directdecompress(const char *InFilen +@@ -2251,7 +2261,17 @@ int directdecompress(const char *InFilen } } if ((bzerr == BZ_OK || bzerr == BZ_STREAM_END) && nread > 0)
