From 7bb28a39059715a8638ac1002812c6e37a269e35 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Fri, 13 Sep 2013 10:20:49 +0000
Subject: [PATCH] OPENDJ-1133 RPM : wrong files under /usr/share/doc/opendj-*version*
---
opends/src/build-tools/org/opends/build/tools/ProcessFilesForPackages.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opends/src/build-tools/org/opends/build/tools/ProcessFilesForPackages.java b/opends/src/build-tools/org/opends/build/tools/ProcessFilesForPackages.java
index 1fe9e0e..d4817d6 100644
--- a/opends/src/build-tools/org/opends/build/tools/ProcessFilesForPackages.java
+++ b/opends/src/build-tools/org/opends/build/tools/ProcessFilesForPackages.java
@@ -249,6 +249,7 @@
|| fileName.endsWith(".app")
|| fileName.endsWith(".bat")
|| fileName.endsWith(".exe")
+ || fileName.equals("readme")
|| file.getAbsolutePath().contains(".app"));
}
}
@@ -269,10 +270,10 @@
return (
!file.getAbsolutePath().contains("/template/")
&& !file.getAbsolutePath().contains("/legals/")
+ && !file.getAbsolutePath().contains("/snmp/")
&& (fileName.endsWith(".doc")
|| fileName.endsWith(".txt")
|| fileName.contains("example-plugin")
- || fileName.equals("readme")
|| fileName.equals("opends.license")));
}
}
--
Gitblit v1.10.0