commit s3backer for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package s3backer for openSUSE:Factory checked in at 2022-08-01 21:32:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/s3backer (Old) and /work/SRC/openSUSE:Factory/.s3backer.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "s3backer" Mon Aug 1 21:32:32 2022 rev:26 rq:991825 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/s3backer/s3backer.changes 2022-07-18 18:34:34.013811205 +0200 +++ /work/SRC/openSUSE:Factory/.s3backer.new.1533/s3backer.changes 2022-08-01 21:33:19.610160459 +0200 @@ -1,0 +2,10 @@ +Sat Jul 30 18:16:05 UTC 2022 - Archie Cobbs <archie.cobbs@gmail.com> + +- Don't try to build with NBD until 15.3 or later + +------------------------------------------------------------------- +Fri Jul 29 21:48:16 UTC 2022 - Archie Cobbs <archie.cobbs@gmail.com> + +- Fix bug in spec file (was missing /run/s3backer-ndb) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ s3backer.spec ++++++ --- /var/tmp/diff_new_pack.hiJW0d/_old 2022-08-01 21:33:20.110161894 +0200 +++ /var/tmp/diff_new_pack.hiJW0d/_new 2022-08-01 21:33:20.114161906 +0200 @@ -16,6 +16,14 @@ # +# Should we try to include NDB support? +%if 0%{?sle_version} >= 150300 +%define include_nbd 1 +%define runfilesdir /run +%define nbdsockdir %{runfilesdir}/s3backer-nbd +%define tmpfileconf s3backer-nbd.conf +%endif + Name: s3backer Version: 2.0.2 Release: 0 @@ -28,10 +36,10 @@ BuildRequires: libcurl-devel >= 7.16.2 BuildRequires: libexpat-devel BuildRequires: libopenssl-devel -%if 0%{?sle_version} >= 150000 +%if 0%{?include_nbd} BuildRequires: libzstd-devel %endif -%if 0%{?sle_version} >= 150300 +%if 0%{?include_nbd} BuildRequires: nbd BuildRequires: nbdkit-devel BuildRequires: nbdkit-server @@ -73,11 +81,26 @@ install -m 0644 COPYING %{buildroot}%{_docdir}/%{name}/ rm -f %{buildroot}%{_docdir}/%{name}/INSTALL +%if 0%{?include_nbd} +mkdir -p %{buildroot}%{_tmpfilesdir} +cat > %{buildroot}%{_tmpfilesdir}/%{tmpfileconf} << 'xxxEOFxxx' +# See tmpfiles.d(5) for details +d %{nbdsockdir} 0700 root root - +xxxEOFxxx +%endif + +%if 0%{?include_nbd} +%post +%tmpfiles_create %{_tmpfilesdir}/%{tmpfileconf} +%endif + %files %{_bindir}/* %{_mandir}/man1/* -%if 0%{?sle_version} >= 150300 +%if 0%{?include_nbd} %{_libdir}/nbdkit/plugins/* +%{_tmpfilesdir}/%{tmpfileconf} +%ghost %dir %attr(0700,root,root) %{nbdsockdir} %endif %{_docdir}/%{name}
participants (1)
-
Source-Sync