Accepting request 489978 from home:bmwiedemann:branches:GNOME:Factory

use strip-nondeterminism to make build fully reproducible

now with fixed suse_version to not get unresolvables on Leap and SLE12

OBS-URL: https://build.opensuse.org/request/show/489978
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=135
This commit is contained in:
Bjørn Lie 2017-05-10 15:29:24 +00:00 committed by Git OBS Bridge
parent 85df621f92
commit dd016efad2
5 changed files with 32 additions and 0 deletions

View File

@ -102,6 +102,9 @@ BuildRequires: python-devel
BuildRequires: python-gdbm
# libtool is needed to build all variants: bootstrap is unconditional in the build section
BuildRequires: libtool
%if 0%{?suse_version} >= 1330
BuildRequires: strip-nondeterminism
%endif
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif
@ -721,6 +724,7 @@ correct mDNS reflection across LAN segments.
%package -n avahi-mono
Summary: Mono Bindings for avahi, the D-BUS Service for Zeroconf and Bonjour
License: LGPL-2.1+
Group: Development/Languages/Mono
Requires: gtk-sharp2
Requires: libavahi-client3 >= %{version}
@ -948,6 +952,9 @@ rmdir $RPM_BUILD_ROOT%{_datadir}/avahi
%else
%if %build_mono
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
%if 0%{?suse_version} >= 1330
strip-nondeterminism $RPM_BUILD_ROOT%{_prefix}/lib/monodoc/sources/*.zip
%endif
%endif
%endif
%endif

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 21 13:49:59 UTC 2017 - bwiedemann@suse.com
- use strip-nondeterminism to make build fully reproducible
-------------------------------------------------------------------
Sat Sep 17 13:52:32 UTC 2011 - jengelh@medozas.de

View File

@ -102,6 +102,9 @@ BuildRequires: python-devel
BuildRequires: python-gdbm
# libtool is needed to build all variants: bootstrap is unconditional in the build section
BuildRequires: libtool
%if 0%{?suse_version} >= 1330
BuildRequires: strip-nondeterminism
%endif
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif
@ -948,6 +951,9 @@ rmdir $RPM_BUILD_ROOT%{_datadir}/avahi
%else
%if %build_mono
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
%if 0%{?suse_version} >= 1330
strip-nondeterminism $RPM_BUILD_ROOT%{_prefix}/lib/monodoc/sources/*.zip
%endif
%endif
%endif
%endif

View File

@ -102,6 +102,9 @@ BuildRequires: python-devel
BuildRequires: python-gdbm
# libtool is needed to build all variants: bootstrap is unconditional in the build section
BuildRequires: libtool
%if 0%{?suse_version} >= 1330
BuildRequires: strip-nondeterminism
%endif
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif
@ -723,6 +726,7 @@ correct mDNS reflection across LAN segments.
%package -n avahi-mono
Summary: Mono Bindings for avahi, the D-BUS Service for Zeroconf and Bonjour
License: LGPL-2.1+
Group: Development/Languages/Mono
Requires: gtk-sharp2
Requires: libavahi-client3 >= %{version}
@ -950,6 +954,9 @@ rmdir $RPM_BUILD_ROOT%{_datadir}/avahi
%else
%if %build_mono
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
%if 0%{?suse_version} >= 1330
strip-nondeterminism $RPM_BUILD_ROOT%{_prefix}/lib/monodoc/sources/*.zip
%endif
%endif
%endif
%endif

View File

@ -104,6 +104,9 @@ BuildRequires: python-devel
BuildRequires: python-gdbm
# libtool is needed to build all variants: bootstrap is unconditional in the build section
BuildRequires: libtool
%if 0%{?suse_version} >= 1330
BuildRequires: strip-nondeterminism
%endif
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif
@ -723,6 +726,7 @@ correct mDNS reflection across LAN segments.
%package -n avahi-mono
Summary: Mono Bindings for avahi, the D-BUS Service for Zeroconf and Bonjour
License: LGPL-2.1+
Group: Development/Languages/Mono
Requires: gtk-sharp2
Requires: libavahi-client3 >= %{version}
@ -950,6 +954,9 @@ rmdir $RPM_BUILD_ROOT%{_datadir}/avahi
%else
%if %build_mono
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
%if 0%{?suse_version} >= 1330
strip-nondeterminism $RPM_BUILD_ROOT%{_prefix}/lib/monodoc/sources/*.zip
%endif
%endif
%endif
%endif