Accepting request 493225 from home:bmwiedemann:branches:X11:Utilities
- Add reproducible.patch to use convert -strip to not have timestamps in png files to make build fully reproducible OBS-URL: https://build.opensuse.org/request/show/493225 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/putty?expand=0&rev=37
This commit is contained in:
parent
b4ccd21087
commit
850190d1e9
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 2 13:07:52 UTC 2017 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- Add reproducible.patch to use convert -strip to not have timestamps
|
||||||
|
in png files to make build fully reproducible
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 2 12:11:41 UTC 2017 - idonmez@suse.com
|
Tue May 2 12:11:41 UTC 2017 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ Source2: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz
|
|||||||
Source4: %name.keyring
|
Source4: %name.keyring
|
||||||
Patch1: putty-03-config.diff
|
Patch1: putty-03-config.diff
|
||||||
Patch2: gtk-buildfix.diff
|
Patch2: gtk-buildfix.diff
|
||||||
|
Patch3: reproducible.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: ImageMagick
|
BuildRequires: ImageMagick
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
@ -45,7 +46,7 @@ serial console client.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 1 -P 2 -p1
|
%patch -P 1 -P 2 -P 3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
18
reproducible.patch
Normal file
18
reproducible.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
From: Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
Date: Tue, 8 Mar 2016 19:39:47
|
||||||
|
# PATCH-FIX-UPSTREAM
|
||||||
|
|
||||||
|
Drop build timestamps from png.
|
||||||
|
Index: putty-0.68/icons/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- putty-0.68.orig/icons/Makefile
|
||||||
|
+++ putty-0.68/icons/Makefile
|
||||||
|
@@ -38,7 +38,7 @@ $(PAMS): %.pam: mkicon.py
|
||||||
|
./mkicon.py $(MODE) $(join $(subst -, ,$(basename $@)),_icon) $@
|
||||||
|
|
||||||
|
$(PNGS) $(MONOPNGS) $(TRUEPNGS): %.png: %.pam
|
||||||
|
- convert $< $@
|
||||||
|
+ convert -strip $< $@
|
||||||
|
|
||||||
|
$(MONOPAMS): %.pam: mkicon.py
|
||||||
|
./mkicon.py -2 $(MODE) $(join $(subst -, ,$(subst -mono,,$(basename $@))),_icon) $@
|
Loading…
Reference in New Issue
Block a user