From 6861fa931f5e015ed1e4027d95bcc2db00b48b4a Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jan 29 2014 13:10:52 +0000 Subject: import bzip2-1.0.6-12.el7.src.rpm --- diff --git a/SPECS/bzip2.spec b/SPECS/bzip2.spec index 0b8d396..5881464 100644 --- a/SPECS/bzip2.spec +++ b/SPECS/bzip2.spec @@ -3,12 +3,14 @@ Summary: A file compression utility Name: bzip2 Version: 1.0.6 -Release: 8%{?dist} +Release: 12%{?dist} License: BSD Group: Applications/File URL: http://www.bzip.org/ Source: http://www.bzip.org/%{version}/%{name}-%{version}.tar.gz +Requires: bzip2-libs = %{version}-%{release} + Patch0: bzip2-1.0.4-saneso.patch Patch1: bzip2-1.0.4-cflags.patch # resolves: #226979 @@ -50,13 +52,19 @@ Libraries for applications using the bzip2 compression format. %patch2 -p1 -b .bz2recover %build +%ifarch ppc64 +export O3="-O3" +%else +export O3="" +%endif + make -f Makefile-libbz2_so CC="%{__cc}" AR="%{__ar}" RANLIB="%{__ranlib}" \ - CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -fpic -fPIC" \ + CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -fpic -fPIC $O3" \ %{?_smp_mflags} all rm -f *.o make CC="%{__cc}" AR="%{__ar}" RANLIB="%{__ranlib}" \ - CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" \ + CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 $O3" \ %{?_smp_mflags} all %install @@ -98,6 +106,20 @@ ln -s bzmore.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzless.1 %{_libdir}/*.so %changelog +* Fri Jan 24 2014 Daniel Mach - 1.0.6-12 +- Mass rebuild 2014-01-24 + +* Fri Jan 10 2014 Peter Schiffer - 1.0.6-11 +- related: #1051062 + added explicit requires on bzip2-libs subpackage from main package + +* Fri Jan 10 2014 Peter Schiffer - 1.0.6-10 +- resolves: #1051062 + recompiled with -O3 flag for ppc64 arch + +* Fri Dec 27 2013 Daniel Mach - 1.0.6-9 +- Mass rebuild 2013-12-27 + * Wed Feb 13 2013 Fedora Release Engineering - 1.0.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild