directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r376539 - /directory/trunks/daemon/installers-plugin/src/main/java/org/apache/directory/daemon/installers/rpm/RpmInstallerCommand.java
Date Fri, 10 Feb 2006 04:09:01 GMT
Author: akarasulu
Date: Thu Feb  9 20:08:59 2006
New Revision: 376539

URL: http://svn.apache.org/viewcvs?rev=376539&view=rev
Log:
fix for RPM builder

Modified:
    directory/trunks/daemon/installers-plugin/src/main/java/org/apache/directory/daemon/installers/rpm/RpmInstallerCommand.java

Modified: directory/trunks/daemon/installers-plugin/src/main/java/org/apache/directory/daemon/installers/rpm/RpmInstallerCommand.java
URL: http://svn.apache.org/viewcvs/directory/trunks/daemon/installers-plugin/src/main/java/org/apache/directory/daemon/installers/rpm/RpmInstallerCommand.java?rev=376539&r1=376538&r2=376539&view=diff
==============================================================================
--- directory/trunks/daemon/installers-plugin/src/main/java/org/apache/directory/daemon/installers/rpm/RpmInstallerCommand.java
(original)
+++ directory/trunks/daemon/installers-plugin/src/main/java/org/apache/directory/daemon/installers/rpm/RpmInstallerCommand.java
Thu Feb  9 20:08:59 2006
@@ -347,8 +347,10 @@
         if ( noticeFile.exists() )
         {
             filterProperties.put( "install.notice.file", "install -m 644 "
-                + target.getLayout().getBaseDirectory() + "/NOTICE.txt $RPM_BUILD_ROOT/usr/local/${app}-%{version}"
);
-            filterProperties.put( "verify.notice.file", "/usr/local/${app}-%{version}/NOTICE.txt"
);
+                + target.getLayout().getBaseDirectory() + "/NOTICE.txt $RPM_BUILD_ROOT/usr/local/"

+                + target.getApplication().getName() + "-%{version}" );
+            filterProperties.put( "verify.notice.file", "/usr/local/" 
+                + target.getApplication().getName() + "-%{version}/NOTICE.txt" );
         }
         else
         {



Mime
View raw message