From ac6ae447f59fd1a8fa5c9382be69b4bb9cf62252 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Mon, 23 Jul 2018 14:05:36 +0200 Subject: [PATCH] Repack tarball without bundled jars, fix license tag --- .gitignore | 1 + ....0.5-build.patch => 0001-Adapt-build.patch | 14 ++++++------ generate-tarball.sh | 22 +++++++++++++++++++ jdom2.spec | 19 +++++++++++----- sources | 2 +- 5 files changed, 44 insertions(+), 14 deletions(-) rename jdom-2.0.5-build.patch => 0001-Adapt-build.patch (92%) create mode 100755 generate-tarball.sh diff --git a/.gitignore b/.gitignore index a812fd1..3aa89c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /JDOM-2.0.5.tar.gz /JDOM-2.0.6.tar.gz +/jdom2-2.0.6.tar.gz diff --git a/jdom-2.0.5-build.patch b/0001-Adapt-build.patch similarity index 92% rename from jdom-2.0.5-build.patch rename to 0001-Adapt-build.patch index 7aa2596..87e9f3b 100644 --- a/jdom-2.0.5-build.patch +++ b/0001-Adapt-build.patch @@ -1,6 +1,6 @@ -From 7fcf41703a428b255a7d7f9b1424e825dd7e1788 Mon Sep 17 00:00:00 2001 +From 05a8a2fa49e92ad36a86d5d73588a2e46bf9ff95 Mon Sep 17 00:00:00 2001 From: Michael Simacek -Date: Wed, 31 May 2017 13:13:48 +0200 +Date: Mon, 23 Jul 2018 14:30:14 +0200 Subject: [PATCH] Adapt build --- @@ -8,7 +8,7 @@ Subject: [PATCH] Adapt build 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/build.xml b/build.xml -index 8067c61..13f88d4 100644 +index cd7c2ed..10d8df6 100644 --- a/build.xml +++ b/build.xml @@ -112,17 +112,7 @@ For instructions on how to build JDOM, please view the README.txt file. @@ -43,12 +43,12 @@ index 8067c61..13f88d4 100644 - -+ ++ --> @@ -97,5 +97,5 @@ index 8067c61..13f88d4 100644 - 2.0.6-12 +- Repack tarball without bundled jars +- The repacked jar contains slightly different source (force push by upstream?) +- Correct license tag + * Tue Jul 17 2018 Mikolaj Izdebski - 2.0.6-11 - Remove unneeded buildrequires diff --git a/sources b/sources index 14badff..0850013 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c901464d4b1ac1f2cfc4a7de006fdb3b JDOM-2.0.6.tar.gz +SHA512 (jdom2-2.0.6.tar.gz) = 1a38c882323339e94c36635e80635ecf8f66e4a1ed0228f68c11098b1282bd9043fdfec1b31196b79eea72495440ac175af50a0556439be5ba956238c32dd1ff