[eclipse-ptp] Add patch to add repository info for tycho-eclipserun-plugin
Orion Poplawski
orion at fedoraproject.org
Mon May 6 15:15:20 UTC 2013
commit f5249c22e1587a5d0665e8ef9d0abe7dd1d0b297
Author: Orion Poplawski <orion at nwra.com>
Date: Mon May 6 09:15:15 2013 -0600
Add patch to add repository info for tycho-eclipserun-plugin
eclipse-ptp-repository.patch | 17 +++++++++++++++++
eclipse-ptp.spec | 6 ++++++
2 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/eclipse-ptp-repository.patch b/eclipse-ptp-repository.patch
new file mode 100644
index 0000000..e7b4616
--- /dev/null
+++ b/eclipse-ptp-repository.patch
@@ -0,0 +1,17 @@
+diff -up org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/pom.xml.repository org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/pom.xml
+--- org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/pom.xml.repository 2013-05-02 12:13:47.000000000 -0600
++++ org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/pom.xml 2013-05-06 09:11:26.950036362 -0600
+@@ -51,6 +51,13 @@
+ <type>eclipse-plugin</type>
+ </dependency>
+ </dependencies>
++ <repositories>
++ <repository>
++ <id>kepler</id>
++ <layout>p2</layout>
++ <url>http://download.eclipse.org/tools/ptp/builds/kepler/nightly</url>
++ </repository>
++ </repositories>
+ </configuration>
+ <executions>
+ <execution>
diff --git a/eclipse-ptp.spec b/eclipse-ptp.spec
index 31ea0eb..426d227 100644
--- a/eclipse-ptp.spec
+++ b/eclipse-ptp.spec
@@ -46,6 +46,8 @@ Patch2: eclipse-ptp-deps.patch
Patch3: eclipse-ptp-tycho-build.patch
# Fix parent path in some poms
Patch4: eclipse-ptp-parentpath.patch
+# Add <repository> for tycho-eclipserun-plugin
+Patch5: eclipse-ptp-repository.patch
# Remove some unneeded dependencies
BuildRequires: java-devel >= 1.5.0
@@ -322,6 +324,7 @@ sed -i -e "/tycho-version/s/>[0-9].*</>${tychover}</" pom.xml
%patch2 -p2 -b .deps
%patch3 -p2 -b .tycho-build
%patch4 -p1 -b .parentpath
+%patch5 -p1 -b .repository
sed -i -e 's/<arch>x86<\/arch>/<arch>%{eclipse_arch}<\/arch>/g' pom.xml
# Remove bundled binaries
rm -r releng/org.eclipse.ptp.linux/os/linux
@@ -463,6 +466,9 @@ cp -p debug/org.eclipse.ptp.debug.sdm/bin/sdm %{buildroot}%{_libdir}/ptp/
%changelog
+* Mon May 6 2013 Orion Poplawski <orion at cora.nwra.com> - 7.0.0-0.3.20130502gitbd8fbd1
+- Add patch to add repository info for tycho-eclipserun-plugin
+
* Thu May 2 2013 Orion Poplawski <orion at cora.nwra.com> - 7.0.0-0.3.20130502gitbd8fbd1
- Update to latest git
- Drop photran build - now in separate package
More information about the scm-commits
mailing list