Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2010-05-31 09:19:47 -0400
committerAlexander Kurtakov2010-05-31 09:19:47 -0400
commitbc5d4746583a395bd8627afc10ebed089e48592c (patch)
tree70b176b054222a01f29bb4e8306777f82dbacbe8 /rpmstubby
parent6324a1adc4a44ae89bb16286d659034c813eef99 (diff)
downloadorg.eclipse.linuxtools-bc5d4746583a395bd8627afc10ebed089e48592c.tar.gz
org.eclipse.linuxtools-bc5d4746583a395bd8627afc10ebed089e48592c.tar.xz
org.eclipse.linuxtools-bc5d4746583a395bd8627afc10ebed089e48592c.zip
2010-05-31 Alexander Kurtakov <akurtako@redhat.com>
* src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java (generateCleanSection): Fix rm call (bug 312864).
Diffstat (limited to 'rpmstubby')
-rw-r--r--rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog4
-rw-r--r--rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java2
2 files changed, 5 insertions, 1 deletions
diff --git a/rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog b/rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog
index 89f3b416dd..02ec2fbf14 100644
--- a/rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog
+++ b/rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-31 Alexander Kurtakov <akurtako@redhat.com>
+
+ * src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java (generateCleanSection): Fix rm call (bug 312864).
+
2010-02-11 Alexander Kurtakov <akurtako@redhat.com>
* src/org/eclipse/linuxtools/rpmstubby/StubbyPomGenerator.java (generateInstallSection): Proper install for jars in a <packaging>pom</packaging> project and use %{_mavenpomdir} macro.
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 741960ee00..517475b08d 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
@@ -138,7 +138,7 @@ public class StubbyPomGenerator {
private void generateCleanSection(StringBuilder buffer) {
buffer.append("%clean\n");
- buffer.append("%{__rm} -rf %{buildroot}\n\n");
+ buffer.append("rm -rf %{buildroot}\n\n");
}
private void generateInstallSection(StringBuilder buffer) {

Back to the top