[rt3] Fix typo in filter rules. Add lexdir, manualdir, RT3_LEXDIR.

corsepiu corsepiu at fedoraproject.org
Wed Jan 18 12:55:15 UTC 2012


commit 2b1b5812c0d9e10992d61ac520e959fd0a6a8266
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Wed Jan 18 13:55:06 2012 +0100

    Fix typo in filter rules.
    Add lexdir, manualdir, RT3_LEXDIR.

 rt3.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/rt3.spec b/rt3.spec
index 8a3cb71..1a87e6b 100644
--- a/rt3.spec
+++ b/rt3.spec
@@ -34,13 +34,14 @@
 %global RT3_BINDIR		%{_sbindir}
 %global RT3_LIBDIR		%{perl_vendorlib}
 %global RT3_WWWDIR		%{_datadir}/rt3/html
+%global RT3_LEXDIR		%{_datadir}/rt3/po
 %global RT3_LOGDIR		%{_localstatedir}/log/rt3
 %global RT3_CACHEDIR		%{_localstatedir}/cache/rt3
 %global RT3_LOCALSTATEDIR	%{_localstatedir}/lib/rt3
 
 Name:		rt3
 Version:	3.8.11
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Request tracker 3
 
 Group:		Applications/Internet
@@ -201,7 +202,7 @@ Requires: rt3-mailgate
 # Filter bogus requires
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(\\)
 # Work-around rpm's depgenerator defect: 
-%global _requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DBIx::SearchBuilder::Handle::\\)
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DBIx::SearchBuilder::Handle::\\)
 
 # Filter redundant provides
 %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(RT\\)$
@@ -266,7 +267,8 @@ cat << \EOF >> config.layout
   bindir:		%{RT3_BINDIR}
   sysconfdir:		%{_sysconfdir}/rt3
   libdir:		%{RT3_LIBDIR}
-  manualdir:		${datadir}/doc
+  manualdir:		%{_defaultdocdir}/%{name}-%{version}
+  lexdir:		%{RT3_LEXDIR}
   localstatedir:	%{RT3_LOCALSTATEDIR}
   htmldir:		%{RT3_WWWDIR}
   fontdir:		%{_datadir}/rt3/fonts
@@ -439,6 +441,10 @@ fi
 %endif
 
 %changelog
+* Wed Jan 18 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.11-3
+- Fix typo in filter rules.
+- Add lexdir, manualdir, RT3_LEXDIR.
+
 * Mon Jan 16 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.11-2
 - Remove redundant R: config(rt3), Remove P: config(rt3).
 - Rewrite filter rules.



More information about the perl-devel mailing list