Remove class path from jar manifest
This commit is contained in:
parent
be0a7d5afa
commit
cc05def35d
24
java_cup-0.11a-manifest.patch
Normal file
24
java_cup-0.11a-manifest.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 447c8beb89190adc2c51c533e93ad26f8eaf34d9 Mon Sep 17 00:00:00 2001
|
||||
From: Lubomir Rintel <lkundrak@v3.sk>
|
||||
Date: Sat, 4 Dec 2010 10:27:15 -0500
|
||||
Subject: [PATCH] Remove class path from jar manifest
|
||||
|
||||
---
|
||||
build.xml | 1 -
|
||||
1 files changed, 0 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/build.xml b/build.xml
|
||||
index 06170de..06e2a7d 100644
|
||||
--- a/build.xml
|
||||
+++ b/build.xml
|
||||
@@ -62,7 +62,6 @@
|
||||
<jar jarfile="${dist}/java-cup-11a.jar" basedir="${classes}">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="java_cup/Main" />
|
||||
- <attribute name="Class-Path" value="java-cup-11a-runtime.jar" />
|
||||
</manifest>
|
||||
</jar>
|
||||
<jar jarfile="${dist}/java-cup-11a-runtime.jar" basedir="${classes}" includes="java_cup/runtime/*">
|
||||
--
|
||||
1.7.3.1
|
||||
|
||||
@ -44,6 +44,7 @@ URL: http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/
|
||||
Source0: java_cup-0.11a.tar.bz2
|
||||
Source1: java_cup-pom.xml
|
||||
Patch0: %{name}-build.patch
|
||||
Patch1: java_cup-0.11a-manifest.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: jpackage-utils >= 0:1.5
|
||||
BuildRequires: jflex
|
||||
@ -76,7 +77,8 @@ Documentation for java_cup.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -b .sav
|
||||
%patch0 -b .build
|
||||
%patch1 -p1 -b .manifest
|
||||
cp %{SOURCE1} pom.xml
|
||||
|
||||
# remove all binary files
|
||||
@ -149,6 +151,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%changelog
|
||||
* Sat Dec 04 2010 Lubomir Rintel <lkundrak@v3.sk> 1:0.11a-5
|
||||
- Require appropriate packages for depmap maintenance in scriptlets
|
||||
- Remove classpath from jar manifest
|
||||
|
||||
* Mon Feb 15 2010 Alexander Kurtakov <akurtako@redhat.com> 1:0.11a-4
|
||||
- Add maven pom and depmap.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user