SPECS: sqlrelay.spec - avoid using /etc/sysconfig/sqlrelay which f...
glen
glen at pld-linux.org
Tue Sep 12 12:28:24 CEST 2006
Author: glen Date: Tue Sep 12 10:28:24 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- avoid using /etc/sysconfig/sqlrelay which format is not shell syntax
- fix permissions
---- Files affected:
SPECS:
sqlrelay.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/sqlrelay.spec
diff -u SPECS/sqlrelay.spec:1.6 SPECS/sqlrelay.spec:1.7
--- SPECS/sqlrelay.spec:1.6 Tue Sep 12 12:14:46 2006
+++ SPECS/sqlrelay.spec Tue Sep 12 12:28:18 2006
@@ -9,7 +9,7 @@
Summary: Persistent database connection system
Name: sqlrelay
Version: 0.37.1
-Release: 0.13
+Release: 0.20
License: GPL/LGPL and Others
Group: Daemons
Source0: http://dl.sourceforge.net/sqlrelay/%{name}-%{version}.tar.gz
@@ -35,6 +35,7 @@
Requires(pre): /usr/bin/getgid
Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
+Requires: %{name}-client-runtime = %{version}-%{release}
Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -104,8 +105,8 @@
%package -n perl-SQLRelay
Summary: SQL Relay modules for Perl
Group: Development/Languages
-Requires: perl-DBI
Requires: %{name}-client-runtime = %{version}-%{release}
+Requires: perl-DBI
%description -n perl-SQLRelay
SQL Relay modules for Perl.
@@ -195,6 +196,7 @@
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/sqlrelay
mv $RPM_BUILD_ROOT%{_sysconfdir}/sqlrelay.conf{.example,}
+mv $RPM_BUILD_ROOT{/etc/sysconfig/sqlrelay,%{_sysconfdir}/sqlrelay.instances}
rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/{DBD/SQLRelay,SQLRelay/{Connection,Cursor}}/.packlist
@@ -225,9 +227,9 @@
%files
%defattr(644,root,root,755)
-%config %attr(600,root,root) %{_sysconfdir}/sqlrelay.conf
-%config %attr(600,root,root) %{_sysconfdir}/sqlrelay.dtd
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sqlrelay
+%{_sysconfdir}/sqlrelay.dtd
+%config(noreplace) %verify(not md5 mtime size) %attr(640,root,sqlrelay) %{_sysconfdir}/sqlrelay.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sqlrelay.instances
%attr(754,root,root) /etc/rc.d/init.d/sqlrelay
%attr(755,root,root) %{_bindir}/sqlr-cachemanager*
%attr(755,root,root) %{_bindir}/sqlr-listener*
@@ -237,8 +239,9 @@
%{_libdir}/libsqlrconnection*
%attr(755,root,root) %{_libdir}/libpqsqlrelay-*.*.*.so.1.0.0
%{_libdir}/libsqlrutil*
-%{_localstatedir}/sqlrelay/tmp
-%{_localstatedir}/sqlrelay/debug
+%dir %{_localstatedir}/sqlrelay
+%attr(775,root,sqlrelay) %{_localstatedir}/sqlrelay/tmp
+%attr(775,root,sqlrelay) %{_localstatedir}/sqlrelay/debug
%{_mandir}/man1/fields.1*
%{_mandir}/man1/sqlr-config-gtk.1*
%{_mandir}/man8/sqlr-cachemanager.8*
@@ -268,7 +271,7 @@
%files client-runtime
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libsqlrclient-*.so.*
-%{_localstatedir}/sqlrelay/cache
+%attr(770,root,sqlrelay) %{_localstatedir}/sqlrelay/cache
%attr(755,root,root) %{_libdir}/libsqlrclientwrapper-*.so.*
%files client-devel
@@ -348,6 +351,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2006/09/12 10:28:18 glen
+- avoid using /etc/sysconfig/sqlrelay which format is not shell syntax
+- fix permissions
+
Revision 1.6 2006/09/12 10:14:46 glen
- strict internal deps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/sqlrelay.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list