[packages/rt] - use rt dir instead of rt3 (so /etc/rt/ instead of /etc/rt3/)

arekm arekm at pld-linux.org
Thu Oct 10 15:25:02 CEST 2013


commit 2a8076c8a8eef1811669fcdc2376b68cfb69c3d8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 10 15:24:59 2013 +0200

    - use rt dir instead of rt3 (so /etc/rt/ instead of /etc/rt3/)

 rt-config.patch | 2 +-
 rt-layout.patch | 2 +-
 rt.spec         | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/rt.spec b/rt.spec
index b7efff2..a0aaddb 100644
--- a/rt.spec
+++ b/rt.spec
@@ -1,6 +1,6 @@
 # TODO:
 # - check file permissions
-# - check files in /usr/share/rt3/
+# - check files in /usr/share/rt/
 # - check Requires (meta-packages for configurations with mod_perl/fcgi,
 #   apache[12]/standalone server...?)
 # - separate standalone server
@@ -246,9 +246,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define         _webapps        /etc/webapps
 %define         _webapp         %{name}
 %define         _webappsdir     %{_webapps}/%{_webapp}
-%define		_sysconfdir	/etc/rt3
+%define		_sysconfdir	/etc/rt
 %define		_libdir		%{perl_vendorlib}
-%define		htmldir		%{_datadir}/rt3/html
+%define		htmldir		%{_datadir}/rt/html
 %define		masonstatedir	%{_localstatedir}/cache/mason_data
 %define		masonsessiondir	%{_localstatedir}/cache/session_data
 
diff --git a/rt-config.patch b/rt-config.patch
index 0ee6adf..342670b 100644
--- a/rt-config.patch
+++ b/rt-config.patch
@@ -5,7 +5,7 @@
      require File::Spec;
      require Cwd;
 -    my @libs = ("@RT_LIB_PATH@", "@LOCAL_LIB_PATH@");
-+    my @libs = ("/etc/rt3/", "@RT_LIB_PATH@", "@LOCAL_LIB_PATH@");
++    my @libs = ("/etc/rt/", "@RT_LIB_PATH@", "@LOCAL_LIB_PATH@");
      my $bin_path;
  
      for my $lib (@libs) {
diff --git a/rt-layout.patch b/rt-layout.patch
index e17ee04..7ec53c4 100644
--- a/rt-layout.patch
+++ b/rt-layout.patch
@@ -9,7 +9,7 @@
 +  exec_prefix:		${prefix}
 +  bindir:		${prefix}/bin
 +  sbindir:		${prefix}/sbin
-+  sysconfdir:		/etc+
++  sysconfdir:		/etc/rt
 +  datadir:		${prefix}/share
 +# FIXME: missing support for lib64
 +  libdir:		${prefix}/lib
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rt.git/commitdiff/2a8076c8a8eef1811669fcdc2376b68cfb69c3d8



More information about the pld-cvs-commit mailing list