Author: baggins                      Date: Sat Sep 22 20:58:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 0.7
- added missing dirs
- fix compilation issues
- config noreplace for config file

---- Files affected:
SPECS:
   openvcpd.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/openvcpd.spec
diff -u SPECS/openvcpd.spec:1.4 SPECS/openvcpd.spec:1.5
--- SPECS/openvcpd.spec:1.4     Sat Sep 22 22:11:51 2007
+++ SPECS/openvcpd.spec Sat Sep 22 22:58:04 2007
@@ -2,7 +2,7 @@
 Summary:       VServer Control Panel Daemon
 Name:          openvcpd
 Version:       0.3
-Release:       0.1
+Release:       0.7
 License:       GPL
 Group:         Applications/System
 Source0:       http://files.openvcp.org/%{name}-%{version}.tar.gz
@@ -33,6 +33,8 @@
 
 %build
 %{__autoconf}
+CFLAGS="%{rpmcflags} -DIPTABLES_LIB_DIR=\\\"%{_libdir}/iptables\\\""
+export CFLAGS
 %configure \
        --with-gnutls \
        --with-ipv6
@@ -41,7 +43,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},/etc/{rc.d/init.d,sysconfig}}
+install -d $RPM_BUILD_ROOT{%{_bindir},/etc/{rc.d/init.d,sysconfig}} \
+       $RPM_BUILD_ROOT{%{_sharedstatedir}/%{name},/vservers/{backups,images}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -66,9 +69,12 @@
 %defattr(644,root,root,755)
 %doc AUTHORS README
 %attr(755,root,root) %{_bindir}/*
-%attr(754,root,root) /etc/%{name}.conf
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
+%config(noreplace) %verify(not md5 mtime size) /etc/%{name}.conf
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+%dir /vservers/backups
+%dir /vservers/images
+%dir %{_sharedstatedir}/%{name}
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -76,6 +82,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/09/22 20:58:04  baggins
+- rel 0.7
+- added missing dirs
+- fix compilation issues
+- config noreplace for config file
+
 Revision 1.4  2007/09/22 20:11:51  baggins
 - added init file
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openvcpd.spec?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to