Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xsd for openSUSE:Factory checked in 
at 2023-08-08 15:54:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xsd (Old)
 and      /work/SRC/openSUSE:Factory/.xsd.new.22712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xsd"

Tue Aug  8 15:54:06 2023 rev:10 rq:1102653 version:4.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/xsd/xsd.changes  2021-02-16 22:35:41.969594663 
+0100
+++ /work/SRC/openSUSE:Factory/.xsd.new.22712/xsd.changes       2023-08-08 
15:54:07.344688407 +0200
@@ -1,0 +2,5 @@
+Mon Aug  7 08:25:23 UTC 2023 - Christophe Marin <christo...@krop.fr>
+
+- Use pre-generated pdf files to have reproducible builds.
+
+-------------------------------------------------------------------

New:
----
  cxx-parser-guide.pdf
  cxx-tree-guide.pdf
  cxx-tree-manual.pdf

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xsd.spec ++++++
--- /var/tmp/diff_new_pack.CKTxYP/_old  2023-08-08 15:54:08.116693238 +0200
+++ /var/tmp/diff_new_pack.CKTxYP/_new  2023-08-08 15:54:08.124693288 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xsd
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,23 +22,21 @@
 Summary:        W3C XML schema to C++ data binding compiler
 # http://www.codesynthesis.com/products/xsd/license.xhtml
 License:        SUSE-GPL-2.0-with-FLOSS-exception
-Group:          Development/Languages/C and C++
 URL:            https://www.codesynthesis.com/products/xsd/
 Source0:        
https://codesynthesis.com/~boris/tmp/xsd/%{version}.a11/%{name}-%{version}.a11+dep.tar.bz2
+Source1:        cxx-tree-guide.pdf
+Source2:        cxx-parser-guide.pdf
+Source3:        cxx-tree-manual.pdf
 Source99:       xsd-rpmlintrc
 # Rename xsd to xsdcxx
 Patch0:         xsdcxx-rename.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  ghostscript
+BuildRequires:  libboost_headers-devel
 BuildRequires:  libxerces-c-devel > 2.8.0
 BuildRequires:  m4
 Requires:       libxerces-c-devel
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_headers-devel
-%else
-BuildRequires:  boost-devel
-%endif
 
 %description
 CodeSynthesis XSD is an open-source, cross-platform W3C XML Schema to
@@ -53,6 +51,7 @@
 Summary:        API documentation files for xsd
 Group:          Documentation/Other
 Requires:       xsd
+BuildArch:      noarch
 
 %description    doc
 This package contains API documentation for xsd.
@@ -61,7 +60,7 @@
 %autosetup -p1 -n %{name}-%{version}.a11+dep
 
 %build
-make verbose=1 CXXFLAGS="%{optflags}" %{?_smp_mflags}
+%make_build CXXFLAGS="%{optflags}"
 
 %install
 make install_prefix="%{buildroot}%{_prefix}"  install
@@ -72,7 +71,13 @@
 mv %{buildroot}%{_mandir}/man1/xsd.1 %{buildroot}%{_mandir}/man1/xsdcxx.1
 
 # Remove duplicate docs.
-rm -rf %{buildroot}%{_datadir}/doc/libxsd
+rm -r %{buildroot}%{_datadir}/doc/libxsd
+
+# the pdf creation relies on a double conversion, first to create a ps file, 
then a PDF
+# the process produces unreproducible builds. Replace with pre-generated files
+cp -f %{SOURCE1} %{buildroot}%{_datadir}/doc/xsdcxx/cxx/tree/cxx-tree-guide.pdf
+cp -f %{SOURCE2} 
%{buildroot}%{_datadir}/doc/xsdcxx/cxx/tree/guide/cxx-parser-guide.pdf
+cp -f %{SOURCE3} 
%{buildroot}%{_datadir}/doc/xsdcxx/cxx/tree/manual/cxx-tree-manual.pdf
 
 %fdupes -s %{buildroot}%{_datadir}/doc
 

Reply via email to