Skip to content
GitLab
Explore
Sign in
Register
Commits on Source
2
Patch the build data and the version in the source
· 46b4c7b4
Andrej Shadura
authored
Jan 03, 2019
46b4c7b4
Update the changelog
· c0b19ad4
Andrej Shadura
authored
Jan 03, 2019
c0b19ad4
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
c0b19ad4
libvldocking-java (3.0.5-2) unstable; urgency=medium
* Patch the build data and the version in the source.
-- Andrej Shadura <andrewsh@debian.org> Thu, 03 Jan 2019 18:44:11 +0100
libvldocking-java (3.0.5-1) unstable; urgency=medium
* Team upload.
...
...
debian/rules
View file @
c0b19ad4
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
%:
dh $@ --buildsystem=maven
override_dh_clean:
[ ! -f src/main/java/com/vlsolutions/swing/docking/DockingDesktop.java.save ] || mv -f src/main/java/com/vlsolutions/swing/docking/DockingDesktop.java.save src/main/java/com/vlsolutions/swing/docking/DockingDesktop.java
dh_clean
override_dh_auto_configure:
cp -f src/main/java/com/vlsolutions/swing/docking/DockingDesktop.java src/main/java/com/vlsolutions/swing/docking/DockingDesktop.java.save
sed -i \
-e 's# BUILD_DATE = .*# BUILD_DATE = "$(shell date -d @${SOURCE_DATE_EPOCH} +%Y/%m/%d)";#' \
-e 's# CURRENT_VERSION_NUMBER = .*# CURRENT_VERSION_NUMBER = "${DEB_VERSION_UPSTREAM}";#' \
src/main/java/com/vlsolutions/swing/docking/DockingDesktop.java
dh_auto_configure