SPECS: audit.spec - fixed libaudit.so symlink - replace init/sysco...

qboosh qboosh at pld-linux.org
Sun Aug 28 17:21:23 CEST 2005


Author: qboosh                       Date: Sun Aug 28 15:21:23 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed libaudit.so symlink
- replace init/sysconfig with our versions
- -devel R: llh with audit update
- release 1

---- Files affected:
SPECS:
   audit.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/audit.spec
diff -u SPECS/audit.spec:1.5 SPECS/audit.spec:1.6
--- SPECS/audit.spec:1.5	Sun Aug 28 15:26:36 2005
+++ SPECS/audit.spec	Sun Aug 28 17:21:17 2005
@@ -3,13 +3,15 @@
 Summary(pl):	Narzędzia przestrzeni użytkownika do audytu jąder 2.6
 Name:		audit
 Version:	1.0.3
-Release:	0.1
+Release:	1
 License:	GPL
 Group:		Daemons
 Source0:	http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
 # Source0-md5:	950daad97adfa3134289aa5b4e885f8f
 # http://people.redhat.com/sgrubb/audit/audit.h
 Source1:	audit.h
+Source2:	%{name}d.init
+Source3:	%{name}d.sysconfig
 URL:		http://people.redhat.com/sgrubb/audit/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1.9
@@ -52,6 +54,7 @@
 License:	LGPL
 Group:		Development/Libraries
 Requires:	%{name}-libs = %{version}-%{release}
+Requires:	linux-libc-headers >= 7:2.6.12.0-4
 
 %description libs-devel
 The audit-libs-devel package contains the header files needed for
@@ -102,13 +105,16 @@
 
 install -d $RPM_BUILD_ROOT/%{_lib}
 mv -f $RPM_BUILD_ROOT%{_libdir}/libaudit.so.* $RPM_BUILD_ROOT/%{_lib}
-ln -sf $(cd $RPM_BUILD_ROOT/%{_lib} ; echo libaudit.so.*.*.*) \
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libaudit.so.*.*.*) \
 	$RPM_BUILD_ROOT%{_libdir}/libaudit.so
 
 # We manually install this since Makefile doesn't
 install -d $RPM_BUILD_ROOT%{_includedir}
 install lib/libaudit.h $RPM_BUILD_ROOT%{_includedir}
 
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/auditd
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/auditd
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -166,6 +172,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/08/28 15:21:17  qboosh
+- fixed libaudit.so symlink
+- replace init/sysconfig with our versions
+- -devel R: llh with audit update
+- release 1
+
 Revision 1.5  2005/08/28 13:26:36  qboosh
 - updated to 1.0.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/audit.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list