SPECS: dmraid.spec - rel 3 - moved dmraid binary and library to /
baggins
baggins at pld-linux.org
Fri Feb 27 22:09:00 CET 2009
Author: baggins Date: Fri Feb 27 21:09:00 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 3
- moved dmraid binary and library to /
---- Files affected:
SPECS:
dmraid.spec (1.41 -> 1.42)
---- Diffs:
================================================================
Index: SPECS/dmraid.spec
diff -u SPECS/dmraid.spec:1.41 SPECS/dmraid.spec:1.42
--- SPECS/dmraid.spec:1.41 Thu Feb 26 16:20:38 2009
+++ SPECS/dmraid.spec Fri Feb 27 22:08:55 2009
@@ -9,7 +9,7 @@
Name: dmraid
Version: 1.0.0
%define _rc rc15
-Release: 0.%{_rc}.2
+Release: 0.%{_rc}.3
License: GPL
Group: Base
Source0: http://people.redhat.com/~heinzm/sw/dmraid/src/%{name}-%{version}.%{_rc}.tar.bz2
@@ -33,6 +33,8 @@
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _sbindir /sbin
+
%description
DMRAID supports device discovery, set activation and display of
properties for ATARAID on Linux >= 2.4 using device-mapper.
@@ -123,7 +125,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/{hooks,scripts/local-top}
+install -d $RPM_BUILD_ROOT{/%{_lib},%{_datadir}/initramfs-tools/{hooks,scripts/local-top}}
%{__make} install \
includedir=$RPM_BUILD_ROOT%{_includedir} \
@@ -131,6 +133,10 @@
mandir=$RPM_BUILD_ROOT%{_mandir} \
sbindir=$RPM_BUILD_ROOT%{_sbindir}
+mv $RPM_BUILD_ROOT%{_libdir}/libdmraid.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libdmraid.so.*.*.*) \
+ $RPM_BUILD_ROOT%{_libdir}/libdmraid.so
+
%if %{with initrd}
install -D tools/dmraid-initrd $RPM_BUILD_ROOT/sbin/dmraid-initrd
%endif
@@ -148,7 +154,7 @@
%defattr(644,root,root,755)
%doc README TODO doc/dmraid_design.txt
%attr(755,root,root) %{_sbindir}/dmraid
-%attr(755,root,root) %{_libdir}/libdmraid.so.*.*.*
+%attr(755,root,root) /%{_lib}/libdmraid.so.*.*.*
%{_mandir}/man8/*
%files devel
@@ -177,6 +183,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.42 2009/02/27 21:08:55 baggins
+- rel 3
+- moved dmraid binary and library to /
+
Revision 1.41 2009/02/26 15:20:38 baggins
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dmraid.spec?r1=1.41&r2=1.42&f=u
More information about the pld-cvs-commit
mailing list