forked from pool/dmraid
This commit is contained in:
parent
99289ece9c
commit
d0a5438da5
@ -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]
|
||||
|
13
dmraid.spec
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user