Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Improved the reproducibility by generating the matchers methods in alphabetical order
· 3ea63e2f
Emmanuel Bourg
authored
Apr 01, 2019
3ea63e2f
Use salsa.debian.org Vcs-* URLs
· 41ea1979
Emmanuel Bourg
authored
Apr 01, 2019
41ea1979
Upload to unstable
· 65d65717
Emmanuel Bourg
authored
Apr 01, 2019
65d65717
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
65d65717
libhamcrest-java (1.3-8) unstable; urgency=medium
* Team upload.
* Improved the reproducibility by generating the matchers methods
in alphabetical order
* Use salsa.debian.org Vcs-* URLs
-- Emmanuel Bourg <ebourg@apache.org> Mon, 01 Apr 2019 00:27:31 +0200
libhamcrest-java (1.3-7) unstable; urgency=medium
* Team upload.
...
...
debian/control
View file @
65d65717
...
...
@@ -23,8 +23,8 @@ Build-Depends:
libjmock-java,
libqdox-java
Standards-Version: 4.1.4
Vcs-Git: https://
anonscm
.debian.org/
git/pkg-java
/libhamcrest-java.git
Vcs-Browser: https://
anonscm
.debian.org/
cgit/pkg-java
/libhamcrest-java
.git
Vcs-Git: https://
salsa
.debian.org/
java-team
/libhamcrest-java.git
Vcs-Browser: https://
salsa
.debian.org/
java-team
/libhamcrest-java
Homepage: http://hamcrest.org
Package: libhamcrest-java
...
...
debian/patches/003-reproducible-build.patch
0 → 100644
View file @
65d65717
--- a/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java
+++ b/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java
@@ -43,6 +43,13 @@
private int currentMethod = -1;
private Method[] allMethods = cls.getMethods();
+ {
+ java.util.Arrays.sort(allMethods, new java.util.Comparator<Method>() {
+ public int compare(Method m1, Method m2) {
+ return m1.getName().compareTo(m2.getName());
+ }
+ });
+ }
@Override
public boolean hasNext() {
@@ -171,4 +178,4 @@
return name.replace('$', '.');
}
-}
\ No newline at end of file
+}
debian/patches/series
View file @
65d65717
001-build.patch
002-random-build-failure.patch
003-reproducible-build.patch