Skip to content
Commits on Source (8)
libspi-java (0.2.4-3) unstable; urgency=medium
* Team upload.
* The timestamp in the META-INF/services/* files now use a fixed timezone
* Build with the DH sequencer instead of CDBS
* Standards-Version updated to 4.4.0
* Switch to debhelper level 11
* Use salsa.debian.org Vcs-* URLs
* Changed the priority from extra to optional
-- Emmanuel Bourg <ebourg@apache.org> Fri, 13 Sep 2019 11:05:31 +0200
libspi-java (0.2.4-2) unstable; urgency=medium
* Team upload.
......
Source: libspi-java
Section: java
Priority: extra
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Jakub Adam <jakub.adam@ktknet.cz>,
tony mancill <tmancill@debian.org>
Build-Depends: debhelper (>= 10), cdbs, default-jdk, javahelper
Standards-Version: 3.9.8
Build-Depends: debhelper (>= 11), default-jdk, javahelper
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/java-team/libspi-java.git
Vcs-Browser: https://salsa.debian.org/java-team/libspi-java
Homepage: https://github.com/rspilker/spi
Vcs-Git: https://anonscm.debian.org/git/pkg-java/libspi-java.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libspi-java.git
Package: libspi-java
Architecture: all
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: debian/*
Copyright: 2012, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
License: Apache-2.0
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/rspilker/spi
Files: *
Copyright: 2008, TOPdesk, the Netherlands
License: Apache-2.0
Files: debian/*
Copyright: 2012-2019, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
License: Apache-2.0
License: Apache-2.0
On a Debian system, for full text of Apache 2.0 license agreement see
/usr/share/common-licenses/Apache-2.0.
......@@ -5,16 +5,19 @@ Last-Update: 2017-08-13
--- a/src/org/mangosdk/spi/processor/Persistence.java
+++ b/src/org/mangosdk/spi/processor/Persistence.java
@@ -132,7 +132,7 @@
@@ -131,8 +131,10 @@
FileObject output = filer.createResource(StandardLocation.CLASS_OUTPUT, "", path + serviceName);
Writer writer = output.openWriter();
try {
+ SimpleDateFormat fmt = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z", Locale.US);
+ fmt.setTimeZone(java.util.TimeZone.getTimeZone("UTC"));
writer.write("# Generated by " + name + "\n");
- writer.write("# " + new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z", Locale.US).format(new Date()) + "\n");
+ writer.write("# " + new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z", Locale.US).format(getBuildDate()) + "\n");
+ writer.write("# " + fmt.format(getBuildDate()) + "\n");
writer.write(value);
}
finally {
@@ -144,4 +144,17 @@
@@ -144,4 +146,17 @@
}
}
}
......
#!/usr/bin/make -f
include /usr/share/cdbs/1/class/javahelper.mk
%:
dh $@ --with javahelper
JAVA_HOME := /usr/lib/jvm/default-java
JH_BUILD_JAR := spi.jar
JH_BUILD_SRC := src
common-post-build-indep::
override_dh_auto_build:
jh_build spi.jar src
cd src && jar uf ../spi.jar META-INF