diff --git a/java_cup-0.11a-manifest.patch b/java_cup-0.11a-manifest.patch new file mode 100644 index 0000000..bf0dbcd --- /dev/null +++ b/java_cup-0.11a-manifest.patch @@ -0,0 +1,24 @@ +From 447c8beb89190adc2c51c533e93ad26f8eaf34d9 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +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 @@ + + + +- + + + +-- +1.7.3.1 + diff --git a/java_cup.spec b/java_cup.spec index 58cfa00..e924b72 100644 --- a/java_cup.spec +++ b/java_cup.spec @@ -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 1:0.11a-5 - Require appropriate packages for depmap maintenance in scriptlets +- Remove classpath from jar manifest * Mon Feb 15 2010 Alexander Kurtakov 1:0.11a-4 - Add maven pom and depmap.