From c2b81e884292ea5b657573ff32a1fcc06d830df44d779177c938b90d023b3f16 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 5 Oct 2012 07:50:30 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libzio?expand=0&rev=11 --- libzio.changes | 5 +++++ libzio.spec | 36 +++++++++++++++++++++++------------- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/libzio.changes b/libzio.changes index c12bcf1..bf521f1 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 5 07:49:23 UTC 2012 - werner@suse.de + +- Strange policy causes new package libzio1 + ------------------------------------------------------------------- Thu Oct 4 13:06:40 UTC 2012 - werner@suse.de diff --git a/libzio.spec b/libzio.spec index da4e8e3..a5841fd 100644 --- a/libzio.spec +++ b/libzio.spec @@ -17,6 +17,15 @@ Name: libzio +%define lname libzio1 +Version: 1.00 +Release: 0 +Summary: A Library for Accessing Compressed Text Files +License: GPL-2.0+ +Group: System/Libraries +Url: http://libzio.sourceforge.net/ +Source: libzio-%{version}.tar.bz2 +Source1: baselibs.conf BuildRequires: libbz2-devel BuildRequires: zlib-devel %if %suse_version <= 1110 @@ -31,23 +40,24 @@ BuildRequires: xz-devel Obsoletes: libzio-64bit %endif # -Version: 1.00 -Release: 0 -Summary: A Library for Accessing Compressed Text Files -License: GPL-2.0+ -Group: System/Libraries -Url: http://libzio.sourceforge.net/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: libzio-%{version}.tar.bz2 -Source2: baselibs.conf %description Libzio provides a wrapper function for reading or writing gzip or bzip2 files with FILE streams. +Author: +-------- + Werner Fink +%package -n %lname +Summary: A Library for Accessing Compressed Text Files +Group: System/Libraries -Authors: +%description -n %lname +Libzio provides a wrapper function for reading or writing gzip or bzip2 +files with FILE streams. + +Author: -------- Werner Fink @@ -94,11 +104,11 @@ done %install make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir} -%post -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files +%files -n %lname %defattr(-,root,root) %{_libdir}/libzio.so.1 %{_libdir}/libzio.so.%{version}