SPECS: parselog.spec - fix build (well actually build too) - move ...

glen glen at pld-linux.org
Sun Jul 10 15:28:02 CEST 2005


Author: glen                         Date: Sun Jul 10 13:28:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix build (well actually build too)
- move apache config earlier from apache global ScriptAlias definition

---- Files affected:
SPECS:
   parselog.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/parselog.spec
diff -u SPECS/parselog.spec:1.3 SPECS/parselog.spec:1.4
--- SPECS/parselog.spec:1.3	Sat Jun 11 09:18:12 2005
+++ SPECS/parselog.spec	Sun Jul 10 15:27:57 2005
@@ -9,7 +9,7 @@
 Summary(pl):	Parselog - narzędzie do analizy plików logów
 Name:		parselog
 Version:	0.08
-Release:	0.17
+Release:	0.18
 Epoch:		0
 License:	GPL v2
 Group:		Applications/System
@@ -92,12 +92,16 @@
 
 %build
 %{__perl} Makefile.PL \
-	INSTALLDIRS=vendor \
+	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
 %{?with_tests:%{__make} test}
 
 cd cgi
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
 %{?with_tests:%{__make} test}
 
 %install
@@ -123,16 +127,16 @@
 rm -rf $RPM_BUILD_ROOT
 
 %triggerin cgi -- apache1 >= 1.3.33-2
-%apache_config_install -v 1 -c %{_sysconfdir}/parselog/apache.conf
+%apache_config_install -v 1 -c %{_sysconfdir}/parselog/apache.conf -n 09
 
 %triggerun cgi -- apache1 >= 1.3.33-2
-%apache_config_uninstall -v 1
+%apache_config_uninstall -v 1 -n 09
 
 %triggerin cgi -- apache >= 2.0.0
-%apache_config_install -v 2 -c %{_sysconfdir}/parselog/apache.conf
+%apache_config_install -v 2 -c %{_sysconfdir}/parselog/apache.conf -n 09
 
 %triggerun cgi -- apache >= 2.0.0
-%apache_config_uninstall -v 2
+%apache_config_uninstall -v 2 -n 09
 
 %files
 %defattr(644,root,root,755)
@@ -179,6 +183,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/07/10 13:27:57  glen
+- fix build (well actually build too)
+- move apache config earlier from apache global ScriptAlias definition
+
 Revision 1.3  2005/06/11 07:18:12  ankry
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/parselog.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list