rpms/rt3/F-8 rt3.spec,1.20,1.21
Ralf Corsépius (corsepiu)
fedora-extras-commits at redhat.com
Mon Mar 17 10:36:57 UTC 2008
Author: corsepiu
Update of /cvs/pkgs/rpms/rt3/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9559
Modified Files:
rt3.spec
Log Message:
* Mon Mar 17 2008 Ralf Corsépius <rc040203 at freenet.de> - 3.6.5-2
- 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-8/rt3.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- rt3.spec 17 Oct 2007 17:22:17 -0000 1.20
+++ rt3.spec 17 Mar 2008 10:36:22 -0000 1.21
@@ -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.5
-Release: 1%{?dist}
+Release: 2%{?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
@@ -84,6 +85,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' \) \
@@ -204,6 +207,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
@@ -234,7 +242,7 @@
%{_mandir}/man1/*
%exclude %{_mandir}/man1/rt-mailgate*
%{RT3_LIBDIR}/*
-%{RT3_LOGDIR}
+%attr(0700,apache,apache) %{RT3_LOGDIR}
%dir %{_sysconfdir}/rt3
%attr(-,root,root)%{_sysconfdir}/rt3/upgrade
@@ -243,6 +251,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
@@ -263,6 +273,10 @@
%{_mandir}/man1/rt-mailgate*
%changelog
+* Mon Mar 17 2008 Ralf Corsépius <rc040203 at freenet.de> - 3.6.5-2
+- Add %%{_sysconfdir}/logrotate.d/rt3 (BZ 437100)
+- Let RT3_LOGDIR be owned by user apache (BZ 437100).
+
* Wed Oct 17 2007 Ralf Corsépius <rc040203 at freenet.de> - 3.6.5-1
- Upstream update.
- Split-out rt-mailgate in to rt3-mailgate (BZ 332731).
More information about the fedora-extras-commits
mailing list