Hello community, here is the log from the commit of package jack for openSUSE:Factory checked in at 2016-03-26 15:10:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jack (Old) and /work/SRC/openSUSE:Factory/.jack.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jack" Changes: -------- --- /work/SRC/openSUSE:Factory/jack/jack.changes 2015-05-29 09:56:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.jack.new/jack.changes 2016-03-26 15:10:17.000000000 +0100 @@ -1,0 +2,11 @@ +Sun Mar 20 11:02:37 UTC 2016 - [email protected] + +- Use pkgconfig buildrequires and cleanup spec. +- BuildIgnore libiec61883 to allow Leap42 and earlier build again. + +------------------------------------------------------------------- +Fri Mar 18 15:10:59 UTC 2016 - [email protected] + +- Add reproducible.patch to fix build-compare + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jack.spec ++++++ --- /var/tmp/diff_new_pack.DzpoQf/_old 2016-03-26 15:10:18.000000000 +0100 +++ /var/tmp/diff_new_pack.DzpoQf/_new 2016-03-26 15:10:18.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package jack # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,18 @@ # +#FIXME: Waf error when using doc build atm +%define buildoc 1 +%define debug_package_requires %{name} = %{version}-%{release} %if 0%{?suse_version} > 1110 # Switch the --dbus on and off, on = 1 %define wdbus 1 %if 0%{?suse_version} > 1140 -BuildRequires: libffado-devel >= 2.0.1.2040 +BuildRequires: pkgconfig(libffado) >= 2.0.1.2040 %endif %else %define wdbus 0 %endif -#FIXME: Waf error when using doc build atm -%define buildoc 1 - Name: jack Version: 1.9.10 Release: 0 @@ -44,31 +44,35 @@ Patch2: jack-sparcv9.diff # PATCH-FIX-OPENSUSE jack-ppc64-long.patch [email protected] -- needed to build blender on ppc64 Patch6: jack-ppc64-long.patch -BuildRequires: alsa-devel +# PATCH-FIX-UPSTREAM reproducible.patch bmwiedemann -- https://github.com/jackaudio/jack2/pull/196 +Patch7: reproducible.patch BuildRequires: dos2unix BuildRequires: doxygen BuildRequires: fdupes -BuildRequires: flac-devel BuildRequires: gcc-c++ -BuildRequires: libFLAC8 -BuildRequires: libexpat-devel -BuildRequires: libogg-devel -BuildRequires: libopus-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: libvorbis-devel BuildRequires: pkg-config BuildRequires: pkgconfig BuildRequires: python -BuildRequires: readline-devel +BuildRequires: pkgconfig(alsa) +#BuildRequires: readline-devel +# NOTE: somebody changed libiec61883 to libiec61883-0 after Leap was released and didn't note it in the changes file. +%if 0%{suse_version} <= 1320 +#!BuildIgnore: libiec61883 +%endif BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(flac++) BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(ogg) +BuildRequires: pkgconfig(opus) +BuildRequires: pkgconfig(samplerate) +BuildRequires: pkgconfig(sndfile) Requires: libjack0 = %{version} Provides: jack-audio-connection-kit Provides: jack2 = %{version} Obsoletes: jack2 < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define debug_package_requires %{name} = %{version}-%{release} %description JACK is system for handling real-time, low latency audio @@ -112,6 +116,7 @@ %setup -q %patch2 %patch6 -p1 +%patch7 -p1 %build @@ -141,6 +146,7 @@ ./waf -v -j1 build %install +export SOURCE_DATE_EPOCH=1411299887 %if %{buildoc} == 1 # This is a workaround because the doc build looks for build/default/html but there isn't one. mkdir -p build/default @@ -167,19 +173,15 @@ %fdupes -s %{_docdir}/jack-audio-connection-kit/ %post -n libjack0 -p /sbin/ldconfig - %postun -n libjack0 -p /sbin/ldconfig -%clean -test %{buildroot} != "/" -a -d %{buildroot} && rm -rf %{buildroot} - %files %defattr(-,root,root) %doc %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/ChangeLog %doc %{_docdir}/%{name}/README* %doc %{_docdir}/%{name}/TODO -%doc %{_mandir}/man1/* +%{_mandir}/man1/* %{_bindir}/* %dir %{_libdir}/%{name} %{_libdir}/%{name}/inprocess.so ++++++ reproducible.patch ++++++ >From f61bdd80a1a9a286f4a52287cefaa31db4a76865 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <[email protected]> Date: Fri, 18 Mar 2016 17:15:23 +0100 Subject: [PATCH] allow to use source date for man page generation this enables making reproducible builds of this package --- man/fill_template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man/fill_template b/man/fill_template index 3ebf9ab..8f14745 100644 --- a/man/fill_template +++ b/man/fill_template @@ -1,5 +1,7 @@ #!/bin/sh +d="" +[ -z "$SOURCE_DATE_EPOCH" ] || d=--date=@$SOURCE_DATE_EPOCH for i in *.0 ; do - sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date '+%B %Y'`/g" < ${i} > ${i%%0}1 + sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date $d '+%B %Y'`/g" < ${i} > ${i%%0}1 done
