Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2009-01-20 14:29:45 +0000
committerAlexander Kurtakov2009-01-20 14:29:45 +0000
commit72bda37bfa2a141501df7fc7117b608459a008e7 (patch)
tree00460fe41093af8546fac4767840303c6ba81915 /rpmstubby
parent6e90a15f24b2fa743e5fed77e6196e17c71d55c8 (diff)
downloadorg.eclipse.linuxtools-72bda37bfa2a141501df7fc7117b608459a008e7.tar.gz
org.eclipse.linuxtools-72bda37bfa2a141501df7fc7117b608459a008e7.tar.xz
org.eclipse.linuxtools-72bda37bfa2a141501df7fc7117b608459a008e7.zip
2009-01-20 Alexander Kurtakov <akurtako@redhat.com>
Fix #260879. * src/org/eclipse/linuxtools/rpmstubby/StubbyGenerator.java (generatePrepSection): Add comment for FIXME in %setup call.
Diffstat (limited to 'rpmstubby')
-rw-r--r--rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog5
-rw-r--r--rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyGenerator.java4
2 files changed, 8 insertions, 1 deletions
diff --git a/rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog b/rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog
index f854d5d32f..608015cd75 100644
--- a/rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog
+++ b/rpmstubby/org.eclipse.linuxtools.rpmstubby/ChangeLog
@@ -1,4 +1,9 @@
2009-01-20 Alexander Kurtakov <akurtako@redhat.com>
+ Fix #260879.
+ * src/org/eclipse/linuxtools/rpmstubby/StubbyGenerator.java
+ (generatePrepSection): Add comment for FIXME in %setup call.
+
+2009-01-20 Alexander Kurtakov <akurtako@redhat.com>
Fix #260875.
* build.properties: Add license header.
* plugin.properties: Fix copyright year.
diff --git a/rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyGenerator.java b/rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyGenerator.java
index df08d05269..235757b191 100644
--- a/rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyGenerator.java
+++ b/rpmstubby/org.eclipse.linuxtools.rpmstubby/src/org/eclipse/linuxtools/rpmstubby/StubbyGenerator.java
@@ -185,7 +185,9 @@ public class StubbyGenerator {
}
private void generatePrepSection(StringBuilder buffer) {
- buffer.append("\n%prep\n%setup -q -n FIXME\n\n");
+ buffer.append("\n%prep\n");
+ buffer.append("# Replace FIXME with the root directory name in Source0\n");
+ buffer.append("%setup -q -n FIXME\n\n");
if (!usePdebuildScript) {
buffer
.append("/bin/sh -x %{eclipse_base}/buildscripts/copy-platform SDK %{eclipse_base}\n");

Back to the top