Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2011-07-22 17:13:15 -0400
committerAlexander Kurtakov2011-07-26 14:28:23 -0400
commit195e57487ae03c8c34f4332d00924ed85a55acba (patch)
tree6879c23b494d680481ce68d6b83722430151b19d /rpmstubby
parenteb7d91a5d0ab0a2ef6d8f03af00030076ea110f6 (diff)
downloadorg.eclipse.linuxtools-195e57487ae03c8c34f4332d00924ed85a55acba.tar.gz
org.eclipse.linuxtools-195e57487ae03c8c34f4332d00924ed85a55acba.tar.xz
org.eclipse.linuxtools-195e57487ae03c8c34f4332d00924ed85a55acba.zip
Remove update_maven_depmap calls and defattrs.
Diffstat (limited to 'rpmstubby')
-rw-r--r--rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java b/rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java
index 55e9cc22e4..9eedcfd1aa 100644
--- a/rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java
+++ b/rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java
@@ -94,7 +94,6 @@ public class StubbyPomGenerator {
generatePrepSection(buffer);
generateBuildSection(buffer);
generateInstallSection(buffer);
- generatePostPostun(buffer);
generateFilesSections(buffer);
generateChangelog(buffer);
@@ -121,14 +120,6 @@ public class StubbyPomGenerator {
}
- private void generatePostPostun(StringBuilder buffer) {
- buffer.append("%post\n");
- buffer.append("%update_maven_depmap\n\n");
- buffer.append("%postun\n");
- buffer.append("%update_maven_depmap\n\n");
-
- }
-
private void generateChangelog(StringBuilder buffer) {
buffer.append("%changelog\n\n");
buffer.append("#FIXME\n");
@@ -162,13 +153,11 @@ public class StubbyPomGenerator {
private void generateFilesSections(StringBuilder buffer) {
buffer.append("%files\n");
- buffer.append("%defattr(-,root,root,-)\n");
buffer.append("%{_javadir}/*\n");
buffer.append("%{_mavenpomdir}/*\n");
buffer.append("%{_mavendepmapfragdir}/*\n\n");
buffer.append("%files javadoc\n");
- buffer.append("%defattr(-,root,root,-)\n");
buffer.append("%{_javadocdir}/%{name}\n\n");
}

Back to the top