Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sparse for openSUSE:Factory checked 
in at 2023-04-03 17:46:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sparse (Old)
 and      /work/SRC/openSUSE:Factory/.sparse.new.9019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sparse"

Mon Apr  3 17:46:47 2023 rev:47 rq:1076899 version:0.6.4+20220627

Changes:
--------
--- /work/SRC/openSUSE:Factory/sparse/sparse.changes    2022-12-09 
13:19:47.467642347 +0100
+++ /work/SRC/openSUSE:Factory/.sparse.new.9019/sparse.changes  2023-04-03 
17:46:53.282651224 +0200
@@ -1,0 +2,5 @@
+Mon Apr  3 11:03:49 UTC 2023 - Jiri Slaby <jsl...@suse.cz>
+
+- don't build llvm parts. It requires llvm < 16.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sparse.spec ++++++
--- /var/tmp/diff_new_pack.HJsEDY/_old  2023-04-03 17:46:53.873686519 +0200
+++ /var/tmp/diff_new_pack.HJsEDY/_new  2023-04-03 17:46:53.885748465 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sparse
 #
-# Copyright (c) 2022 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
@@ -16,6 +16,8 @@
 #
 
 
+%bcond_with llvm
+
 Name:           sparse
 Version:        0.6.4+20220627
 Release:        0
@@ -31,10 +33,10 @@
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(sqlite3)
-%if 0%{?suse_version} > 1320 || 0%{?is_opensuse}
+%if %{with llvm}
 %ifarch         x86_64
 BuildRequires:  clang
-BuildRequires:  llvm-devel
+BuildRequires:  llvm-devel < 16
 %endif
 %endif
 
@@ -62,12 +64,14 @@
 %description inspect
 test-inspect is a gtk frontend for sparse.
 
+%if %{with llvm}
 %package llvm
 Summary:        LLVM backed sparse
 Group:          Development/Libraries/C and C++
 
 %description llvm
 LLVM backend for sparse, including sparsec
+%endif
 
 %prep
 %autosetup -p1
@@ -75,22 +79,13 @@
 %build
 %make_build \
   PREFIX=%{_prefix} \
-  LIBDIR=%{_libdir} \
-  MANDIR=%{_mandir} \
-  PKGCONFIGDIR=%{_libdir}/pkgconfig \
   CFLAGS="%{optflags}" \
   LDFLAGS="%{optflags}" \
   V=1
 
 %install
-make \
-  %{?_smp_mflags} \
-  DESTDIR=%{buildroot} \
-  PREFIX=%{_prefix} \
-  LIBDIR=%{_libdir} \
-  MANDIR=%{_mandir} \
-  PKGCONFIGDIR=%{_libdir}/pkgconfig \
-  install
+%make_install \
+  PREFIX=%{_prefix}
 
 %files
 %license LICENSE
@@ -103,7 +98,7 @@
 %{_mandir}/man1/semind.1%{?ext_man}
 %{_mandir}/man1/sparse.1%{?ext_man}
 
-%if 0%{?suse_version} > 1320 || 0%{?is_opensuse}
+%if %{with llvm}
 %ifarch x86_64
 %files llvm
 %{_bindir}/sparsec

Reply via email to