rpms/rt3/EL-5 rt3.logrotate.in, NONE, 1.1 rt3.spec, 1.18, 1.19 sources, 1.6, 1.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: xavierb

Update of /cvs/pkgs/rpms/rt3/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22222

Modified Files:
	rt3.spec sources 
Added Files:
	rt3.logrotate.in 
Log Message:
Sync with F-8


--- NEW FILE rt3.logrotate.in ---
@RT3_LOGDIR@/rt.log {
    missingok
    notifempty
    size 100k
}


Index: rt3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rt3/EL-5/rt3.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- rt3.spec	14 Oct 2007 17:48:22 -0000	1.18
+++ rt3.spec	20 Mar 2008 20:44:17 -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.
 #
@@ -12,7 +12,7 @@
 %define RT3_LOCALSTATEDIR	%{_localstatedir}/lib/rt3
 
 Name:		rt3
-Version:	3.6.3
+Version:	3.6.5
 Release:	2%{?dist}
 Summary:	Request tracker 3
 
@@ -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
@@ -60,16 +61,32 @@
 Requires: perl(Tree::Simple)
 Requires: perl(URI::URL)
 
+# Split out. Technically, not actually necessary, but ... let's keep it for now.
+Requires: rt3-mailgate
+
 %description
 RT is an enterprise-grade ticketing system which enables a group of people
 to intelligently and efficiently manage tasks, issues, and requests submitted
 by a community of users.
 
+%package mailgate
+Summary: rt3's mailgate utility.
+Group:   Applications/Internet
+# rpm doesn't catch these:
+Requires:	perl(Pod::Usage)
+Requires:	perl(HTML::TreeBuilder)
+Requires:	perl(HTML::FormatText)
+
+%description mailgate
+%{summary}
+
 %prep
 %setup -q -n rt-%{version}
 
 sed -e 's,@RT3_CACHEDIR@,%{RT3_CACHEDIR},' %{SOURCE4} \
   > README.fedora
+sed -e 's,@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 +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
@@ -216,9 +238,11 @@
 %doc COPYING README UPGRADING README.fedora
 %{_bindir}/*
 %{_sbindir}/*
+%exclude %{_sbindir}/rt-mailgate
 %{_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
@@ -227,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
@@ -242,7 +268,22 @@
 %ghost %{_prefix}/local/lib/rt3
 %ghost %{_prefix}/local/etc/rt3
 
+%files mailgate
+%{_sbindir}/rt-mailgate
+%{_mandir}/man1/rt-mailgate*
+
 %changelog
+* Mon Mar 17 2008 Ralf Corsépius <rc040203@xxxxxxxxxx> - 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@xxxxxxxxxx> - 3.6.5-1
+- Upstream update.
+- Split-out rt-mailgate in to rt3-mailgate (BZ 332731).
+
+* Tue Sep 04 2007 Ralf Corsépius <rc040203@xxxxxxxxxx> - 3.6.4-1
+- Upstream update.
+
 * Tue Sep 04 2007 Ralf Corsépius <rc040203@xxxxxxxxxx> - 3.6.3-2
 - Update license tag.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rt3/EL-5/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	5 Jan 2007 09:51:34 -0000	1.6
+++ sources	20 Mar 2008 20:44:17 -0000	1.7
@@ -1 +1 @@
-d6b2fa930441f16b6530aa00665eb8c7  rt-3.6.3.tar.gz
+e935ef70ad72e6b9cdaea781b676a4cd  rt-3.6.5.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux