Hello community, here is the log from the commit of package bzip2 for openSUSE:Factory checked in at 2017-06-12 15:11:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bzip2 (Old) and /work/SRC/openSUSE:Factory/.bzip2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bzip2" Mon Jun 12 15:11:14 2017 rev:58 rq:501581 version:1.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/bzip2/bzip2.changes 2017-04-03 11:04:18.446468572 +0200 +++ /work/SRC/openSUSE:Factory/.bzip2.new/bzip2.changes 2017-06-12 15:11:18.595167326 +0200 @@ -1,0 +2,7 @@ +Tue Jun 6 10:32:06 UTC 2017 - mplus...@suse.com + +- Drop implicit pie building +- Try profiled build +- Move autoreconf to build section + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bzip2.spec ++++++ --- /var/tmp/diff_new_pack.J1yCDF/_old 2017-06-12 15:11:20.374916202 +0200 +++ /var/tmp/diff_new_pack.J1yCDF/_new 2017-06-12 15:11:20.378915638 +0200 @@ -41,10 +41,9 @@ BuildRequires: libtool BuildRequires: pkgconfig # The following is a kludge to get updating bzip2 to after the split work -PreReq: %{libname} +Requires(pre): %{libname} Provides: bzip = %{version} Obsoletes: bzip < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The bzip2 program is a very powerful program for compressing files. @@ -52,9 +51,7 @@ %package doc Summary: The bzip2 program and Library Documentation Group: Productivity/Archiving/Compression -%if 0%{?suse_version} > 1130 BuildArch: noarch -%endif %description doc The bzip2 program and library documentation. @@ -83,19 +80,27 @@ %patch3 -p1 %patch4 %patch5 -p1 -autoreconf -fiv %build -export CFLAGS="%{optflags} -fPIE" -%configure --with-pic --disable-static -make %{?_smp_mflags} LDFLAGS="-pie" +autoreconf -fiv +%configure \ + --with-pic \ + --disable-static +%if %{do_profiling} + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" test + make clean + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" +%else + make %{?_smp_mflags} CFLAGS="%{optflags}" +%endif %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} pkgconfigdir=%{_libdir}/pkgconfig +%make_install pkgconfigdir=%{_libdir}/pkgconfig gzip -9 manual.ps gzip -dc %{SOURCE1} > bznew -install -D -m 755 bznew %{buildroot}%{_bindir}/bznew -install -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man1 +install -Dpm 0755 bznew %{buildroot}%{_bindir}/bznew +install -m 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1 # Steam and prolly others still use the 1.0 name, so we need to be # compatible # Remove this when all distros use the autotools based bzip2 release @@ -111,8 +116,29 @@ %files %defattr(-,root,root) -%{_mandir}/man1/* -%{_bindir}/* +%{_bindir}/bunzip2 +%{_bindir}/bzcat +%{_bindir}/bzcmp +%{_bindir}/bzdiff +%{_bindir}/bzegrep +%{_bindir}/bzfgrep +%{_bindir}/bzgrep +%{_bindir}/bzip2 +%{_bindir}/bzip2recover +%{_bindir}/bzless +%{_bindir}/bzmore +%{_bindir}/bznew +%{_mandir}/man1/bunzip2.1%{ext_man} +%{_mandir}/man1/bzcat.1%{ext_man} +%{_mandir}/man1/bzcmp.1%{ext_man} +%{_mandir}/man1/bzdiff.1%{ext_man} +%{_mandir}/man1/bzegrep.1%{ext_man} +%{_mandir}/man1/bzfgrep.1%{ext_man} +%{_mandir}/man1/bzgrep.1%{ext_man} +%{_mandir}/man1/bzip2.1%{ext_man} +%{_mandir}/man1/bzless.1%{ext_man} +%{_mandir}/man1/bzmore.1%{ext_man} +%{_mandir}/man1/bznew.1%{ext_man} %files doc %defattr(-,root,root)