perfsonar-dev - perfsonar: r5144 - trunk/geant2-java-sql-ma/packaging/rpm
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r5144 - trunk/geant2-java-sql-ma/packaging/rpm
- Date: Mon, 25 May 2009 06:17:01 -0400
Author: pikusa
Date: 2009-05-25 06:17:00 -0400 (Mon, 25 May 2009)
New Revision: 5144
Modified:
trunk/geant2-java-sql-ma/packaging/rpm/geant2-java-sql-ma.specs
Log:
Adding commands to include *.sql files to conf directory after installation
Modified: trunk/geant2-java-sql-ma/packaging/rpm/geant2-java-sql-ma.specs
===================================================================
--- trunk/geant2-java-sql-ma/packaging/rpm/geant2-java-sql-ma.specs
2009-05-25 10:13:14 UTC (rev 5143)
+++ trunk/geant2-java-sql-ma/packaging/rpm/geant2-java-sql-ma.specs
2009-05-25 10:17:00 UTC (rev 5144)
@@ -4,7 +4,7 @@
Name: geant2-java-sql-ma
Version: 2.1.1
License: Modified BSD
-Release: 1
+Release: 2
Summary: perfSONAR Relational Database Service
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
@@ -69,6 +69,7 @@
## make symlink for easy access to conf
%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.properties
%{_sysconfdir}/%{name}
%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/objects.config
%{_sysconfdir}/%{name}
+%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.sql
%{_sysconfdir}/%{name}
%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.xml
%{_sysconfdir}/%{name}
%{__ln_s} -f %{prefix}/WEB-INF/classes/*.xml %{_sysconfdir}/%{name}
%{__ln_s} -f %{prefix}/WEB-INF/log %{_var}/log/%{name}
@@ -85,6 +86,7 @@
%{__rm} -rf %{_sysconfdir}/%{name}/*.properties || true
%{__rm} -rf %{_sysconfdir}/%{name}/objects.config || true
%{__rm} -rf %{_sysconfdir}/%{name}/*.xml || true
+ %{__rm} -rf %{_sysconfdir}/%{name}/*.sql || true
%{__rm} -rf %{_var}/log/%{name} || true
%{__rm} -rf %{_var}/lib/tomcat5/webapps/%{name} || true
fi
- perfsonar: r5144 - trunk/geant2-java-sql-ma/packaging/rpm, svnlog, 05/25/2009
Archive powered by MHonArc 2.6.16.