directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r374305 - /directory/trunks/daemon/installers-plugin/src/main/java/org/apache/directory/daemon/installers/rpm/RpmInstallerCommand.java
Date Thu, 02 Feb 2006 08:50:48 GMT
Author: akarasulu
Date: Thu Feb  2 00:50:46 2006
New Revision: 374305

URL: http://svn.apache.org/viewcvs?rev=374305&view=rev
Log:
adding some more substitution string for rpm spec file transformation

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=374305&r1=374304&r2=374305&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  2 00:50:46 2006
@@ -183,7 +183,9 @@
         
         char firstChar = target.getApplication().getName().charAt( 0 );
         firstChar = Character.toUpperCase( firstChar );
-        filterProperties.put( "app.displayname", firstChar + target.getApplication().getName().substring(
1 ) );
+        filterProperties.put( "app.display.name", firstChar + target.getApplication().getName().substring(
1 ) );
+        filterProperties.put( "app.release", "0" );
+        filterProperties.put( "app.license.type", target.getApplication().getLicenseType()
);
 
         if ( target.getApplication().getVersion() != null )
         {



Mime
View raw message