Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package grass for openSUSE:Factory checked 
in at 2022-12-08 16:52:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grass (Old)
 and      /work/SRC/openSUSE:Factory/.grass.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grass"

Thu Dec  8 16:52:12 2022 rev:11 rq:1041343 version:7.8.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/grass/grass.changes      2022-11-29 
10:54:23.953128613 +0100
+++ /work/SRC/openSUSE:Factory/.grass.new.1835/grass.changes    2022-12-08 
16:52:22.339847825 +0100
@@ -1,0 +2,10 @@
+Wed Dec  7 19:24:07 UTC 2022 - Stefan Brüns <stefan.bru...@rwth-aachen.de>
+
+- Make build reproducible:
+  * Set GRASS_RANDOM_SEED for "random" colortable in documentation.
+  * Use SOURCE_DATE_EPOCH for version instead of current date.
+- Remove direct dependency on wxWidgets, dependency on Python
+  bindings is sufficient.
+- Drop some more extraneous build dependencies.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ grass.spec ++++++
--- /var/tmp/diff_new_pack.PfqdcU/_old  2022-12-08 16:52:23.663854616 +0100
+++ /var/tmp/diff_new_pack.PfqdcU/_new  2022-12-08 16:52:23.671854657 +0100
@@ -18,21 +18,12 @@
 
 # Notice to maintainer : move this package to real lfhs
 %define        shortver 78
-# Post Leap 42 / TW
-%if 0%{?suse_version} > 1325
-BuildRequires:  wxWidgets-devel >= 3.0
 %if 0%{?suse_version} >= 1550
 BuildRequires:  python3-wxPython
 %else
 BuildRequires:  python-wxWidgets-devel >= 3.0
 %endif
-%else
-%define _use_internal_dependency_generator 0
-%define __find_requires %wx_requires
-# Don't work for SLE why ?
-# BuildRequires:  python-wxWidgets >= 2.8
-BuildRequires:  wxWidgets-devel >= 2.8
-%endif
+
 Name:           grass
 Version:        7.8.7
 Release:        0
@@ -75,11 +66,12 @@
 BuildRequires:  python3-xml
 BuildRequires:  sqlite-devel
 BuildRequires:  unixODBC-devel
-BuildRequires:  xorg-x11-Mesa-devel
 BuildRequires:  zlib-devel
-Requires:       fftw3
+BuildRequires:  pkgconfig(cairo)
+BuildRequires:  pkgconfig(gl)
+BuildRequires:  pkgconfig(glu)
+# proj contains the required common data files
 Requires:       proj >= 6
-Requires:       python3
 Requires:       python3-dateutil
 Requires:       python3-numpy
 Requires:       python3-opengl
@@ -129,6 +121,8 @@
 sed -i s/%{grasver}//g grass.pc.in
 sed -i s/%{grasver2}//g configure
 sed -i s/%{grasver2}//g Makefile
+sed -i -e "/GRASS_HEADERS_/ s/@GRASS_HEADERS_GIT_.*@/"$(date -d 
@${SOURCE_DATE_EPOCH} -u +%FT%T%:z)"/" include/version.h.in
+cat include/version.h.in
 
 %define grassprefix %{_libdir}
 %define grassdir %{grassprefix}/%{name}%{shortver}
@@ -172,6 +166,8 @@
 find . -type f -exec sed -i -e 's:#!%{_bindir}/env 
python3:#!%{_bindir}/python3:g' {} +
 
 %build
+# Make builds reproducible (e.g. "random" colortable example in documentation)
+export GRASS_RANDOM_SEED=1234
 make prefix=%{grassprefix} PREFIX=%{grassprefix} %{?_smp_mflags}
 
 %install
@@ -212,18 +208,18 @@
 
 %fdupes -s %{buildroot}%{grassdir}
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files devel
-%defattr(-,root,root)
 %{grassdir}/include
 %{grasslib}/*.a
 %{_sysconfdir}/GRASSDIR
 
 %files doc
-%defattr(-,root,root)
 %{grassdir}/docs
 
 %files
-%defattr(-,root,root)
 %config %{_sysconfdir}/ld.so.conf.d/grass-%{version}.conf
 %{_bindir}/%{name}
 %{_bindir}/%{name}%{shortver}
@@ -282,8 +278,4 @@
 %{grassdir}/INSTALL
 %exclude %{grassdir}/demolocation
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
 %changelog

Reply via email to