From d0a5438da5599a3b4420a867f5b95960b3ccfba723f54cfe2c8871d0ed57c7b0 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 13 Sep 2008 21:15:46 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmraid?expand=0&rev=15 --- dmraid.changes | 7 +++++++ dmraid.spec | 13 ++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/dmraid.changes b/dmraid.changes index 9becb57..45c9d00 100644 --- a/dmraid.changes +++ b/dmraid.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Sep 13 21:44:39 CEST 2008 - meissner@suse.de + +- symlink, not copy the .so to the .so.0 file +- removed self-provides, some other .spec file fixes + +------------------------------------------------------------------- Wed Sep 10 15:14:19 CEST 2008 - xwhu@novell.com - Adding DSO for event-handling [fate#304214] diff --git a/dmraid.spec b/dmraid.spec index cd31150..23d20ba 100644 --- a/dmraid.spec +++ b/dmraid.spec @@ -27,7 +27,7 @@ Group: System/Base AutoReqProv: on Summary: A Device-Mapper Software RAID Support Tool Version: 1.0.0.rc14 -Release: 92 +Release: 93 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1: sysconfig.dmraid Source2: boot.dmraid @@ -47,7 +47,6 @@ Patch7: dmraid-pdc_max_sectors.patch Patch8: dmraid-1.0.0.rc14-ddf1_segfault.patch Patch9: dmraid-move-type-definition.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: dmraid PreReq: %fillup_prereq %description @@ -125,17 +124,22 @@ install -d $RPM_BUILD_ROOT/lib/mkinitrd/scripts install -m 755 %{S:4} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-dmraid.sh install -m 755 %{S:5} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-dmraid.sh install -D -m755 libdmraid-events/libdmraid-events.so.0 $RPM_BUILD_ROOT/%{_lib}/libdmraid-events.so.0 -cp -aL libdmraid-events/libdmraid-events.so $RPM_BUILD_ROOT/%{_lib}/libdmraid-events.so +cp -a libdmraid-events/libdmraid-events.so $RPM_BUILD_ROOT/%{_lib}/libdmraid-events.so install -D -m755 reg_tool/dm_dso_reg_tool $RPM_BUILD_ROOT/sbin/dm_dso_reg_tool install -D -m644 reg_tool/dm_dso_reg_tool.8 $RPM_BUILD_ROOT/usr/share/man/man8/dm_dso_reg_tool.8 %post [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{fillup_only} +/sbin/ldconfig %postun [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{insserv_cleanup} +/sbin/ldconfig + +%preun +%stop_on_removal %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] \ @@ -158,6 +162,9 @@ install -D -m644 reg_tool/dm_dso_reg_tool.8 $RPM_BUILD_ROOT/usr/share/man/man8/d /sbin/dm_dso_reg_tool %changelog +* Sat Sep 13 2008 meissner@suse.de +- symlink, not copy the .so to the .so.0 file +- removed self-provides, some other .spec file fixes * Wed Sep 10 2008 xwhu@novell.com - Adding DSO for event-handling [fate#304214] * Wed Sep 03 2008 hare@suse.de