Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cunit for openSUSE:Factory checked 
in at 2024-02-07 18:47:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cunit (Old)
 and      /work/SRC/openSUSE:Factory/.cunit.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cunit"

Wed Feb  7 18:47:22 2024 rev:5 rq:1144507 version:2.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/cunit/cunit.changes      2015-10-26 
12:47:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cunit.new.1815/cunit.changes    2024-02-07 
18:48:18.614483274 +0100
@@ -1,0 +2,6 @@
+Tue Feb  6 08:08:12 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- Disable LTO to avoid undefined symbols on some platforms
+- Clean the spec file up a bit
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cunit.spec ++++++
--- /var/tmp/diff_new_pack.RMPzTx/_old  2024-02-07 18:48:19.830527126 +0100
+++ /var/tmp/diff_new_pack.RMPzTx/_new  2024-02-07 18:48:19.830527126 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cunit
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,10 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%{!?make_build:%global make_build make %{?_smp_mflags}}
+%define _lto_cflags %{nil}
 %define _name   CUnit
 %define _version 2.1-3
 %define _libname libcunit1
@@ -23,18 +25,17 @@
 Version:        2.1.3
 Release:        0
 Summary:        It provides C programmers a basic testing functionality
-License:        LGPL-2.0
+License:        LGPL-2.0-only
 Group:          Development/Libraries/C and C++
-Url:            http://cunit.sourceforge.net/
-Source0:        
http://download.sourceforge.net/cunit/%{_name}-%{_version}.tar.bz2
+URL:            https://cunit.sourceforge.net/
+Source0:        
https://download.sourceforge.net/cunit/%{_name}-%{_version}.tar.bz2
 Patch0:         cunit-link-ncurses.diff
 Patch1:         cunit-ncurses6.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
-BuildRequires:  pkg-config
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
 CUnit is a unit testing framework for C.
@@ -46,7 +47,7 @@
 Group:          Development/Libraries/C and C++
 Requires:       %{_libname} = %{version}
 Requires:       ncurses-devel
-Requires:       pkg-config
+Requires:       pkgconfig
 %if 0%{?suse_version} || 0%{?fedora_version}
 Recommends:     %{name}-doc = %{version}
 %endif
@@ -90,10 +91,10 @@
     --enable-curses \
     --enable-examples \
     --enable-test
-make %{?_smp_mflags}
+%make_build
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 rm -rf %{buildroot}%{_prefix}/doc
 # arch dependent files
@@ -107,23 +108,20 @@
 rm doc/Jamfile*
 
 %post -n %{_libname} -p /sbin/ldconfig
-
 %postun -n %{_libname} -p /sbin/ldconfig
 
 %files -n %{_libname}
-%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README TODO
 %{_libdir}/libcunit.so.*
 
 %files doc
-%defattr(-,root,root,-)
 %doc doc/*
 %dir %{_datadir}/CUnit
 %{_datadir}/CUnit/*
-%{_mandir}/man3/CUnit.3.gz
+%{_mandir}/man3/CUnit.3%{?ext_man}
 
 %files devel
-%defattr(-,root,root,-)
 %dir %{_includedir}/CUnit
 %{_includedir}/CUnit/*
 %dir %{_libdir}/CUnit

Reply via email to