diff --git a/slade.changes b/slade.changes index def877e..fb4e23f 100644 --- a/slade.changes +++ b/slade.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun May 7 09:00:30 UTC 2017 - bwiedemann@suse.com + +- use p7zip for deterministic archive file order + and strip-nondeterminism to have fully reproducible builds + +------------------------------------------------------------------- +Tue May 2 13:04:33 UTC 2017 - bwiedemann@suse.com + +- use convert -strip to make build more reproducible + ------------------------------------------------------------------- Fri Feb 10 01:19:39 UTC 2017 - luke.nukem.jones@gmail.com diff --git a/slade.spec b/slade.spec index e9b5733..83be979 100644 --- a/slade.spec +++ b/slade.spec @@ -35,7 +35,7 @@ BuildRequires: freeimage-devel BuildRequires: gcc-c++ BuildRequires: update-desktop-files BuildRequires: wxWidgets-3_0-devel -BuildRequires: zip +BuildRequires: p7zip BuildRequires: pkgconfig(fluidsynth) BuildRequires: pkgconfig(ftgl) BuildRequires: pkgconfig(gl) @@ -43,6 +43,9 @@ BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(sfml-all) BuildRequires: pkgconfig(x11) +%if 0%{?suse_version} > 1320 +BuildRequires: strip-nondeterminism +%endif %description SLADE3 is a modern editor for Doom-engine based games and source @@ -59,11 +62,14 @@ from/to other generic formats such as PNG. make %{?_smp_mflags} %install +%if 0%{?suse_version} > 1320 +strip-nondeterminism build/slade.pk3 +%endif b="%buildroot" install -Dm755 build/slade "$b/%_bindir/slade" install -Dm644 build/slade.pk3 "$b/%_datadir/slade3/slade.pk3" -convert "build/msvc/slade.ico[0]" -alpha on "%name.png" +convert -strip "build/msvc/slade.ico[0]" -alpha on "%name.png" install -Dpm0644 "%name.png" "$b/%_datadir/pixmaps/%name.png" install -Dpm0644 %{SOURCE100} "$b/%_datadir/appdata/%name.appdata.xml"