Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
MySQL-zrm
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
MySQL-zrm.spec
@@ -23,26 +23,24 @@ %define BKUPDIR /var/lib/mysql-zrm %{!?VERSION: %define VERSION 2.1} -Name: MySQL-zrm -Summary: Zmanda Recovery Manager for MySQL -Version: %{VERSION} -Release: 1 -BuildArch: noarch -License: GPL -Group: Applications/System -Source: %{name}-%{VERSION}.tar.gz -Packager: www.zmanda.com -Vendor: Zmanda, Inc. -BuildRoot: %{_tmppath}/%{name}-%{VERSION}-root -Requires: perl -Requires: perl-DBI -Requires: mailx -Provides: MySQL-zrm, MySQL-zrm-client +Name: MySQL-zrm +Summary: Zmanda Recovery Manager for MySQL +Version: %{VERSION} +Release: 2 +BuildArch: noarch +License: GPL +Group: Applications/System +Source: %{name}-%{VERSION}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{VERSION}-root +Requires: perl +Requires: perl-DBI +Requires: mailx +Requires: logrotate %package client Summary: Zmanda Recovery Manager for MySQL client Group: Applications/System -Requires: xinetd +Requires: xinetd %description Zmanda Recovery Manager (ZRM) for MySQL is a backup and recovery manager for @@ -94,7 +92,9 @@ fi mkdir -p $RPM_BUILD_ROOT cp -rp . $RPM_BUILD_ROOT/ +chmod -x ./usr/share/doc/${PACKAGE}-${VERSION}/* mv ./usr/share/doc/${PACKAGE}-${VERSION}/* . +rm -rf %{buildroot}/usr/share/doc/${PACKAGE}-${VERSION} %post if [ -x /usr/bin/mysql-zrm-migrate-file-ownership ] ; then @@ -104,12 +104,14 @@ %post client if [ -f /etc/xinetd.d/mysql-zrm-socket-server ] ; then + if [ -x /etc/init.d/xinetd ] ; then echo -n "`date +'%b %e %Y %T'`: Reloading xinetd configuration..." /etc/init.d/xinetd reload ret_val=$? if [ ${ret_val} -ne 0 ] ; then echo "xinetd reload failed. Please restart xinetd" fi + fi fi %clean @@ -117,8 +119,7 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{VERSION}/ %files -%defattr(-,mysql,mysql) -%defattr(0660,mysql,mysql) +%defattr(-,root,root) %verify(user group mode md5 size mtime) %doc INSTALL README AUTHORS COPYING %verify(user group mode md5 size mtime) %doc README-plugin-encrypt %verify(user group mode md5 size mtime) %doc README-plugin-socket-copy @@ -127,10 +128,21 @@ %verify(user group mode md5 size mtime) %doc README-plugin-pre-scheduler %verify(user group mode md5 size mtime) %doc README-plugin-post-backup %verify(user group mode md5 size mtime) %doc README-plugin-snapshot-plugin +%defattr(-,mysql,mysql) +%dir /var/log/mysql-zrm +%dir /etc/mysql-zrm +%dir /usr/share/mysql-zrm +%dir /usr/lib/mysql-zrm +%dir /usr/lib/mysql-zrm/Data +%dir /usr/lib/mysql-zrm/Data/Report +%dir /usr/lib/mysql-zrm/Data/Report/Plugin +%dir /usr/lib/mysql-zrm/XML +%dir /usr/lib/mysql-zrm/ZRM +%dir /usr/share/mysql-zrm/plugins %defattr(0660,mysql,mysql) %config(noreplace) %{_sysconfdir}/mysql-zrm/mysql-zrm.conf %config(noreplace) %{_sysconfdir}/mysql-zrm/mysql-zrm-reporter.conf -%verify(user group mode md5 size mtime) %{_sysconfdir}/mysql-zrm/mysql-zrm-release +%config %{_sysconfdir}/mysql-zrm/mysql-zrm-release %defattr(0750,mysql,mysql) %verify(user group mode md5 size mtime) %{_bindir}/mysql-zrm %verify(user group mode md5 size mtime) %{_bindir}/mysql-zrm-scheduler @@ -163,15 +175,12 @@ %verify(user group mode md5 size mtime) %{_mandir}/man1/mysql-zrm-restore.1.gz %verify(user group mode md5 size mtime) %{_mandir}/man1/mysql-zrm-verify-backup.1.gz %defattr(0660,mysql,mysql) -%verify(user group mode md5 size mtime) /etc/logrotate.d/mysql-zrm +%config /etc/logrotate.d/mysql-zrm %defattr(0770,mysql,mysql) -%verify(user group mode md5 size mtime) /var/log/mysql-zrm %verify(user group mode md5 size mtime) /var/log/mysql-zrm/mysql-zrm.log -%verify(user group mode md5 size mtime) /etc/mysql-zrm %verify(user group mode md5 size mtime) /var/lib/mysql-zrm -%verify(user group mode md5 size mtime) /usr/share/mysql-zrm %defattr(0660,mysql,mysql) -%verify(user group mode md5 size mtime) /etc/mysql-zrm/RSS.header +%config(noreplace) /etc/mysql-zrm/RSS.header %verify(user group mode md5 size mtime) /usr/lib/mysql-zrm/ZRM/Common.pm %verify(user group mode md5 size mtime) /usr/lib/mysql-zrm/ZRM/MySQL.pm %verify(user group mode md5 size mtime) /usr/lib/mysql-zrm/ZRM/Replication.pm @@ -192,6 +201,8 @@ %verify(user group mode md5 size mtime) /usr/share/mysql-zrm/plugins/lvm-snapshot.pl %verify(user group mode md5 size mtime) /usr/share/mysql-zrm/plugins/zfs-snapshot.pl %verify(user group mode md5 size mtime) /usr/share/mysql-zrm/plugins/socket-server.pl +%verify(user group mode md5 size mtime) /usr/share/mysql-zrm/plugins/pre-scheduler-plugin.pl +%verify(user group mode md5 size mtime) /usr/share/mysql-zrm/plugins/xinetd.smf %verify(user group mode md5 size mtime) /etc/xinetd.d/mysql-zrm-socket-server %files client @@ -205,6 +216,9 @@ %changelog +* Sun Jun 21 2009 Carsten Schoene <cs@linux-administrator.com> - 2.1-2 +- fix some issues in spec + * Mon Sep 22 2008 Paddy Sreenivasan <paddy@zmanda.com> - Updated for 2.1 release * Mon Mar 3 2008 Paddy Sreenivasan <paddy@zmanda.com>
Renamed
MySQL-zrm-2.1.tar.bz2
^