packages: jira/jira.spec - create %pluginsdir

pawelz pawelz at pld-linux.org
Thu May 27 12:12:44 CEST 2010


Author: pawelz                       Date: Thu May 27 10:12:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- create %pluginsdir

---- Files affected:
packages/jira:
   jira.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: packages/jira/jira.spec
diff -u packages/jira/jira.spec:1.42 packages/jira/jira.spec:1.43
--- packages/jira/jira.spec:1.42	Thu May 27 10:43:06 2010
+++ packages/jira/jira.spec	Thu May 27 12:12:38 2010
@@ -72,6 +72,7 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		pluginsdir	%{_datadir}/jira/plugins
 %description
 JIRA lets you prioritise, assign, track, report and audit your
 'issues,' whatever they may be - from software bugs and help-desk
@@ -155,9 +156,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir},/var/log/jira}
+install -d $RPM_BUILD_ROOT{%{pluginsdir},/var/log/jira}
 install -d $RPM_BUILD_ROOT%{_sharedstatedir}/jira/{jiradb,index,attachments,backups}
-cp -a tmp/build/war $RPM_BUILD_ROOT%{_datadir}/jira
+cp -a tmp/build/war/* $RPM_BUILD_ROOT%{_datadir}/jira
 
 # configuration
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/jira,%{_sharedstatedir}/tomcat/conf/Catalina/localhost}
@@ -239,6 +240,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2010/05/27 10:12:38  pawelz
+- create %pluginsdir
+
 Revision 1.42  2010/05/27 08:43:06  pawelz
 - install license file, update license note
 - make list of files to download easier to copy-paste
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jira/jira.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list