From c13e9e415b77c2d11be21b18f143f22976c18750 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 03:40:02 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20bzip2-1?= =?UTF-8?q?.0.2-2.src.rpm=20Thu=20Feb=2021=202002=20Trond=20Eivind=20Gloms?= =?UTF-8?q?r=F8d=20=201.0.2-2=20-=20Rebuild=20Wed=20Jan=20?= =?UTF-8?q?30=202002=20Trond=20Eivind=20Glomsr=F8d=20=201.?= =?UTF-8?q?0.2-1=20-=201.0.2=20-=20Total=20overhaul=20of=20build=20precedu?= =?UTF-8?q?re=20-=20Add=20many=20small=20helper=20programs=20added=20to=20?= =?UTF-8?q?1.0.2=20-=20drop=20old=20patches=20Wed=20Jan=2009=202002=20Tim?= =?UTF-8?q?=20Powers=20=20-=20automated=20rebuild=20Mon?= =?UTF-8?q?=20Nov=2026=202001=20Trond=20Eivind=20Glomsr=F8d=20=201.0.1-5=20-=20Don't=20segfault=20when=20infile=20is=20a?= =?UTF-8?q?=20directory=20and=20"-f"=20is=20used=20(#56623)=20-=20Automake?= =?UTF-8?q?=20is=20evil.=20Add=20workaround?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 3 +-- bzip2.spec | 63 +++++++++++++++++++++++++++++++++++------------------- sources | 3 +-- 3 files changed, 43 insertions(+), 26 deletions(-) diff --git a/.cvsignore b/.cvsignore index 68d5a91..c8f149e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ -bzip2-1.0.1-autoconflibtoolize.patch.gz -bzip2-1.0.1.tar.gz +bzip2-1.0.2.tar.gz diff --git a/bzip2.spec b/bzip2.spec index 6fb626f..792eae8 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -1,13 +1,12 @@ Summary: A file compression utility. Name: bzip2 -Version: 1.0.1 -Release: 4.1 +Version: 1.0.2 +Release: 2 License: BSD Group: Applications/File URL: http://sources.redhat.com/bzip2/ -Source: ftp://sources.redhat.com/pub/bzip2/v100/bzip2-%{version}.tar.gz -Patch0: bzip2-1.0.1-autoconflibtoolize.patch.gz -Source1: bzgrep +Source: ftp://sources.redhat.com/pub/bzip2/v102/bzip2-%{version}.tar.gz +Patch: bzip2-1.0.2-saneso.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: bzip2-libs = %{version} @@ -42,31 +41,35 @@ Libraries for applications using the bzip2 compression format. %prep %setup -q - %patch -p1 -cp m4/largefile.m4 . -chmod a+x configure -touch ChangeLog %build - -%configure --enable-shared --enable-static - -# XXX avoid rerunning automake et al. -touch aclocal.m4 - -touch configure -chmod +x install-sh - -make +make -f Makefile-libbz2_so CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -fpic -fPIC" all +rm -f *.o +make CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" all %install rm -rf ${RPM_BUILD_ROOT} -%makeinstall +mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,%{_libdir},%{_includedir}} +install -m 755 bzlib.h $RPM_BUILD_ROOT/%{_includedir} +install -m 755 libbz2.so.1.0.2 $RPM_BUILD_ROOT/%{_libdir} +install -m 755 libbz2.a $RPM_BUILD_ROOT/%{_libdir} +install -m 755 bzip2-shared $RPM_BUILD_ROOT/%{_bindir}/bzip2 +install -m 755 bzip2recover bzgrep bzdiff bzmore $RPM_BUILD_ROOT/%{_bindir}/ +install -m 644 bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 $RPM_BUILD_ROOT/%{_mandir}/man1/ +ln -s bzip2 $RPM_BUILD_ROOT/%{_bindir}/bunzip2 +ln -s bzip2 $RPM_BUILD_ROOT/%{_bindir}/bzcat +ln -s bzdiff $RPM_BUILD_ROOT/%{_bindir}/bzcmp +ln -s bzmore $RPM_BUILD_ROOT/%{_bindir}/bzless +ln -s libbz2.so.1.0.2 $RPM_BUILD_ROOT/%{_libdir}/libbz2.so.1 +ln -s libbz2.so.1 $RPM_BUILD_ROOT/%{_libdir}/libbz2.so +ln -s bzip2.1 $RPM_BUILD_ROOT/%{_mandir}/man1/bzip2recover.1 +ln -s bzip2.1 $RPM_BUILD_ROOT/%{_mandir}/man1/bunzip2.1 +ln -s bzip2.1 $RPM_BUILD_ROOT/%{_mandir}/man1/bzcat.1 +ln -s bzdiff.1 $RPM_BUILD_ROOT/%{_mandir}/man1/bzcmp.1 +ln -s bzmore.1 $RPM_BUILD_ROOT/%{_mandir}/man1/bzless.1 -cp %SOURCE1 ${RPM_BUILD_ROOT}%{_bindir} -chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/bzgrep %post libs -p /sbin/ldconfig @@ -92,6 +95,22 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/*so %changelog +* Thu Feb 21 2002 Trond Eivind Glomsrød 1.0.2-2 +- Rebuild + +* Wed Jan 30 2002 Trond Eivind Glomsrød 1.0.2-1 +- 1.0.2 +- Total overhaul of build precedure +- Add many small helper programs added to 1.0.2 +- drop old patches + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Mon Nov 26 2001 Trond Eivind Glomsrød 1.0.1-5 +- Don't segfault when infile is a directory and "-f" is used (#56623) +- Automake is evil. Add workaround + * Fri Mar 30 2001 Trond Eivind Glomsrød - use "License" instead of "Copyright" - split out libs diff --git a/sources b/sources index 8728070..9332f9c 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -26429428a29a6615c20aca8b7902bd04 bzip2-1.0.1-autoconflibtoolize.patch.gz -770135dc94369cb3eb6013ed505c8dc5 bzip2-1.0.1.tar.gz +ee76864958d568677f03db8afad92beb bzip2-1.0.2.tar.gz