SHA256
1
0
forked from pool/bzip2

Accepting request 86090 from Archiving

add libtool as buildrequires so we no longer rely on libtool in the project config of factory - it's only needed by <10% of all packages (forwarded request 85957 from coolo)

OBS-URL: https://build.opensuse.org/request/show/86090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bzip2?expand=0&rev=37
This commit is contained in:
Lars Vogdt 2011-10-03 07:13:46 +00:00 committed by Git OBS Bridge
commit 8999fa5e95
2 changed files with 11 additions and 28 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Sep 30 20:07:46 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to make the spec file more reliable
-------------------------------------------------------------------
Sat Sep 17 21:13:00 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Wed Aug 10 17:43:49 UTC 2011 - puzel@novell.com

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bzip2
@ -24,6 +23,7 @@ Release: 11
Provides: bzip
Obsoletes: bzip
BuildRequires: pkg-config
BuildRequires: libtool
# The following is a kludge to get updating bzip2 to after the split work
PreReq: libbz2-1
# bug437293
@ -51,12 +51,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The bzip2 program is a very powerful program for compressing files.
Authors:
--------
Julian Seward <jseward@acm.org>
%package doc
License: BSD3c
Summary: The bzip2 program and Library Documentation
@ -68,12 +62,6 @@ BuildArch: noarch
%description doc
The bzip2 program and library documentation.
Authors:
--------
Julian Seward <jseward@acm.org>
%package -n libbz2-1
License: BSD3c
Summary: The bzip2 runtime library
@ -82,12 +70,6 @@ Group: Productivity/Archiving/Compression
%description -n libbz2-1
The bzip2 runtime library
Authors:
--------
Julian Seward <jseward@acm.org>
%package -n libbz2-devel
License: BSD3c
Summary: The bzip2 runtime library development files
@ -97,12 +79,6 @@ Requires: libbz2-1 = %{version} glibc-devel
%description -n libbz2-devel
The bzip2 runtime library development files.
Authors:
--------
Julian Seward <jseward@acm.org>
%prep
%setup -q
%patch
@ -151,9 +127,6 @@ gzip -dc %{SOURCE1} > bznew
install -D -m 755 bznew $RPM_BUILD_ROOT%{_bindir}/bznew
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libbz2-1 -p /sbin/ldconfig
%postun -n libbz2-1 -p /sbin/ldconfig