[jFormatString] Update to version shipped with FindBugs 2.0.2 (again)

richardfearn richardfearn at fedoraproject.org
Wed Sep 11 16:15:41 UTC 2013


commit 8f2e0301bd7d606a186b84d2e301e1f07f22d707
Author: Richard Fearn <richardfearn at gmail.com>
Date:   Sun Feb 10 20:15:14 2013 +0000

    Update to version shipped with FindBugs 2.0.2 (again)

 .gitignore         |    1 +
 jFormatString.spec |   19 +++++++++++++++++--
 sources            |    1 +
 3 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b68e35c..9cc375b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 jFormatString-0.tar.bz2
+/jFormatString.jar
diff --git a/jFormatString.spec b/jFormatString.spec
index c4d046a..b61ec2a 100644
--- a/jFormatString.spec
+++ b/jFormatString.spec
@@ -1,11 +1,12 @@
 Name:           jFormatString
 Version:        0
-Release:        0.10.20081016svn%{?dist}
+Release:        0.11.20111215svn%{?dist}
 Summary:        Java format string compile-time checker
 
 Group:          Development/Libraries
 License:        GPLv2 with exceptions
-URL:            https://jformatstring.dev.java.net/
+URL:            http://findbugs.sourceforge.net/
+
 # There has been no official release yet.  This is a snapshot of the Subversion
 # repository as of 16 Oct 2008.  Use the following commands to generate the
 # tarball:
@@ -14,10 +15,15 @@ URL:            https://jformatstring.dev.java.net/
 #   (The password is "guest".)
 #   tar -cjvf jFormatString-0.tar.bz2 jformatstring
 Source0:        %{name}-%{version}.tar.bz2
+
 # This patch has not been sent upstream, since it is Fedora specific.  This
 # gives the build system the path to the appropriate junit jar.
 Patch0:         %{name}-build.patch
 
+# This is the jFormatString JAR file shipped with FindBugs 2.0.2:
+# http://code.google.com/p/findbugs/source/browse/trunk/findbugs/lib/jFormatString.jar
+Source1:        %{name}.jar
+
 BuildRequires:  ant, java-devel, java-javadoc, jpackage-utils, junit4
 Requires:       java, jpackage-utils
 
@@ -41,6 +47,12 @@ This package contains the API documentation for %{name}.
 %setup -q -n jformatstring
 %patch0 -p1
 
+# delete old source code
+find jFormatString/src -name "*.java" -print -delete
+
+# unpack new source code
+unzip %SOURCE1 -d jFormatString/src/java -x *.class META-INF/*
+
 %build
 # Build the JAR
 cd jFormatString
@@ -73,6 +85,9 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
 %{_javadocdir}/%{name}*
 
 %changelog
+* Mon Sep 09 2013 Richard Fearn <richardfearn at gmail.com> - 0-0.11.20111215svn
+- Update to version shipped with FindBugs 2.0.2 (again)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.10.20081016svn
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index fe20748..565a684 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 0bd082f8d7000eeb5634fa7d63b34ee0  jFormatString-0.tar.bz2
+a54a527bb715d214c70193a37aa568f4  jFormatString.jar


More information about the scm-commits mailing list