SPECS: ibbackup.spec - add sample config
glen
glen at pld-linux.org
Fri Oct 20 19:08:25 CEST 2006
Author: glen Date: Fri Oct 20 17:08:25 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add sample config
---- Files affected:
SPECS:
ibbackup.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/ibbackup.spec
diff -u SPECS/ibbackup.spec:1.5 SPECS/ibbackup.spec:1.6
--- SPECS/ibbackup.spec:1.5 Fri Oct 20 19:06:08 2006
+++ SPECS/ibbackup.spec Fri Oct 20 19:08:20 2006
@@ -8,6 +8,7 @@
Source0: %{name}.gz
# NoSource0-md5: dc2c361ed2c9af01b189e3b11b9d3bc2
NoSource: 0
+Source1: %{name}.conf
URL: http://www.innodb.com/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,8 +30,9 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
install %{name} $RPM_BUILD_ROOT%{_bindir}
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -38,6 +40,7 @@
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ibbackup
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ibbackup.conf
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -45,6 +48,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2006/10/20 17:08:20 glen
+- add sample config
+
Revision 1.5 2006/10/20 17:06:08 glen
- nosource0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ibbackup.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list