rpms/rt3/F-7 rt3.spec,1.18,1.19
Ralf Corsépius (corsepiu)
fedora-extras-commits at redhat.com
Mon Mar 17 10:46:24 UTC 2008
Author: corsepiu
Update of /cvs/pkgs/rpms/rt3/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9963
Modified Files:
rt3.spec
Log Message:
* Mon Mar 17 2008 Ralf Corsépius <rc040203 at freenet.de> - 3.6.3-3
- Add %{_sysconfdir}/logrotate.d/rt3 (BZ 437100)
- Let RT3_LOGDIR be owned by user apache (BZ 437100).
Index: rt3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rt3/F-7/rt3.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- rt3.spec 14 Oct 2007 17:48:20 -0000 1.18
+++ rt3.spec 17 Mar 2008 10:45:44 -0000 1.19
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2005, 2006, 2007 Ralf Corsepius, Ulm, Germany.
+# Copyright (c) 2005, 2006, 2007, 2008 Ralf Corsepius, Ulm, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -13,7 +13,7 @@
Name: rt3
Version: 3.6.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Request tracker 3
Group: Applications/Internet
@@ -22,6 +22,7 @@
Source0: http://www.bestpractical.com/pub/rt/release/rt-%{version}.tar.gz
Source3: rt3.conf.in
Source4: README.fedora.in
+Source5: rt3.logrotate.in
Patch0: rt-3.6.1-config.diff
Patch1: rt-3.4.1-I18N.diff
@@ -70,6 +71,8 @@
sed -e 's, at RT3_CACHEDIR@,%{RT3_CACHEDIR},' %{SOURCE4} \
> README.fedora
+sed -e 's, at RT3_LOGDIR@,%{RT3_LOGDIR},' %{SOURCE5} \
+ > rt3.logrotate
# Fixup the tarball shipping with broken permissions
find . \( -name '*.pm' -o -name '*.pm.in' -o -name '*.po' -o -name '*.pod' \) \
@@ -190,6 +193,11 @@
install -d -m755 ${RPM_BUILD_ROOT}%{_prefix}/local/lib/rt3/lib
install -d -m755 ${RPM_BUILD_ROOT}%{RT3_LOGDIR}
+
+# install log rotation stuff
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rt3
+install -m 644 rt3.logrotate ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rt3
+
install -d -m755 ${RPM_BUILD_ROOT}%{RT3_LOCALSTATEDIR}
# Fix permissions
@@ -218,7 +226,7 @@
%{_sbindir}/*
%{_mandir}/man1/*
%{RT3_LIBDIR}/*
-%{RT3_LOGDIR}
+%attr(0700,apache,apache) %{RT3_LOGDIR}
%dir %{_sysconfdir}/rt3
%attr(-,root,root)%{_sysconfdir}/rt3/upgrade
@@ -227,6 +235,8 @@
%attr(-,root,root)%{_sysconfdir}/rt3/init*
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/rt3/RT_*
+%config(noreplace) %{_sysconfdir}/logrotate.d/rt3
+
%dir %{_datadir}/rt3
%{RT3_WWWDIR}
%config(noreplace) %{_sysconfdir}/httpd/conf.d/rt3.conf
@@ -243,6 +253,10 @@
%ghost %{_prefix}/local/etc/rt3
%changelog
+* Mon Mar 17 2008 Ralf Corsépius <rc040203 at freenet.de> - 3.6.3-3
+- Add %%{_sysconfdir}/logrotate.d/rt3 (BZ 437100)
+- Let RT3_LOGDIR be owned by user apache (BZ 437100).
+
* Tue Sep 04 2007 Ralf Corsépius <rc040203 at freenet.de> - 3.6.3-2
- Update license tag.
More information about the fedora-extras-commits
mailing list