From f285e8a7d2a33d605f8f72b2379b2ea7f30a2edfff09ee8fee7e29a814b2b2ac Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 3 Jun 2007 19:05:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bzip2?expand=0&rev=6 --- shared-lib.diff => bzip2-shared_lib.patch | 0 bzip2.changes | 7 +++++++ bzip2.spec | 22 +++++++++++++--------- rpmlintrc | 2 +- 4 files changed, 21 insertions(+), 10 deletions(-) rename shared-lib.diff => bzip2-shared_lib.patch (100%) diff --git a/shared-lib.diff b/bzip2-shared_lib.patch similarity index 100% rename from shared-lib.diff rename to bzip2-shared_lib.patch diff --git a/bzip2.changes b/bzip2.changes index 154cb49..8b7ac87 100644 --- a/bzip2.changes +++ b/bzip2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed May 30 11:53:18 CEST 2007 - lmichnovic@suse.cz + +- renamed lib to libbz2-1 according to Shared Library Packaging + Policy +- calling ldconfig for libbz2-1 package + ------------------------------------------------------------------- Fri May 25 23:28:01 CEST 2007 - dmueller@suse.de diff --git a/bzip2.spec b/bzip2.spec index 18f8ace..12e6332 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -12,21 +12,21 @@ Name: bzip2 Version: 1.0.4 -Release: 19 +Release: 22 Provides: bzip Obsoletes: bzip # The following is a kludge to get updating bzip2 to after the split work -PreReq: libbz2 +PreReq: libbz2-1 Autoreqprov: on Group: Productivity/Archiving/Compression -License: BSD License and BSD-like +License: BSD License and BSD-like, bzip2-1.0 is distributed under a BSD-style license URL: http://www.bzip.org/ Summary: A Program for Compressing Files Source: bzip2-%{version}.tar.gz Source1: bznew.gz Source2: bznew.1.gz Source100: rpmlintrc -Patch1: shared-lib.diff +Patch1: bzip2-shared_lib.patch Patch2: bzip2-maxlen20.patch Patch3: bzip2-faster.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -53,11 +53,11 @@ Authors: -------- Julian Seward -%package -n libbz2 +%package -n libbz2-1 Summary: bzip2 runtime library Group: Productivity/Archiving/Compression -%description -n libbz2 +%description -n libbz2-1 bzip2 runtime library @@ -121,9 +121,9 @@ ln -sf ../../%{_lib}/libbz2.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libbz2.so %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post -n libbz2-1 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libbz2-1 -p /sbin/ldconfig %files %defattr(-,root,root) @@ -135,7 +135,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %doc manual.ps.gz manual*.html -%files -n libbz2 +%files -n libbz2-1 %defattr(-,root,root) /%{_lib}/libbz2.so.1 /%{_lib}/libbz2.so.1.* @@ -147,6 +147,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libbz2.so %changelog +* Wed May 30 2007 - lmichnovic@suse.cz +- renamed lib to libbz2-1 according to Shared Library Packaging + Policy +- calling ldconfig for libbz2-1 package * Fri May 25 2007 - dmueller@suse.de - build with profile feedback enabled (7-15%% speedup) * Fri Mar 30 2007 - rguenther@suse.de diff --git a/rpmlintrc b/rpmlintrc index ca3b323..2ad3647 100644 --- a/rpmlintrc +++ b/rpmlintrc @@ -1,4 +1,4 @@ # This line is mandatory to access the configuration functions from Config import * -addFilter("bzip2 explicit-lib-dependency libbz2") +addFilter("bzip2 explicit-lib-dependency libbz2-1")