SPECS: audit.spec - added patch that fixes python module - install...

heretyk heretyk at pld-linux.org
Tue Jan 10 18:49:21 CET 2006


Author: heretyk                      Date: Tue Jan 10 17:49:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added patch that fixes python module
- install compiled python module
- rel. 0.2

---- Files affected:
SPECS:
   audit.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/audit.spec
diff -u SPECS/audit.spec:1.14 SPECS/audit.spec:1.15
--- SPECS/audit.spec:1.14	Mon Dec 19 00:22:15 2005
+++ SPECS/audit.spec	Tue Jan 10 18:49:15 2006
@@ -7,7 +7,7 @@
 Summary(pl):	Narzędzia przestrzeni użytkownika do audytu jąder 2.6
 Name:		audit
 Version:	1.1.2
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Daemons
 Source0:	http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
@@ -16,6 +16,7 @@
 Source1:	%{name}.h
 Source2:	%{name}d.init
 Source3:	%{name}d.sysconfig
+Patch0:		%{name}-swig-fix.patch
 URL:		http://people.redhat.com/sgrubb/audit/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1.9
@@ -100,6 +101,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 install -D %{SOURCE1} lib/linux/audit.h
 install -D %{SOURCE1} src/mt/linux/audit.h
@@ -135,6 +137,8 @@
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/auditd
 
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -192,7 +196,7 @@
 %files -n python-audit
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/_audit.so
-%{py_sitescriptdir}/audit.py
+%{py_sitescriptdir}/audit.pyc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -200,6 +204,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2006/01/10 17:49:15  heretyk
+- added patch that fixes python module
+- install compiled python module
+- rel. 0.2
+
 Revision 1.14  2005/12/18 23:22:15  qboosh
 - package python module
 - added missing version information to previous commit message
================================================================

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



More information about the pld-cvs-commit mailing list