Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mpc for openSUSE:Factory checked in 
at 2026-04-23 17:05:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpc (Old)
 and      /work/SRC/openSUSE:Factory/.mpc.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpc"

Thu Apr 23 17:05:44 2026 rev:33 rq:1348179 version:1.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpc/mpc.changes  2022-12-21 16:05:45.790270572 
+0100
+++ /work/SRC/openSUSE:Factory/.mpc.new.11940/mpc.changes       2026-04-23 
17:09:52.025723433 +0200
@@ -1,0 +2,26 @@
+Sat Apr 18 18:14:13 UTC 2026 - Andreas Stieger <[email protected]>
+
+- update to 1.4.1:
+  * mpc_fr_div: Fix memory leak introduced in release 1.4.0
+
+-------------------------------------------------------------------
+Tue Mar 24 18:30:35 UTC 2026 - Richard Biener <[email protected]>
+
+- Fixup pkg-config install location 
+
+-------------------------------------------------------------------
+Sat Mar 21 15:46:12 UTC 2026 - Andreas Stieger <[email protected]>
+
+- Update to 1.4.0:
+  * New functions: mpc_exp10, mpc_exp2, mpc_log2
+  * mpc_tan and mpc_tanh: Fix wrong values and slowness for large
+    imaginary part.
+  * mpc_pow: Agree on and implement the sign of the imaginary part
+    when both inputs are real.
+  * mpc_fr_div and mpc_ui_div: Treat the imaginary part of the
+    dividend as an exact zero and not as +0, following the C2Y
+    draft of the C standard. This changes the signs of zeroes in
+    some results.
+  * Generate the pkg-config file mpc.pc
+
+-------------------------------------------------------------------

Old:
----
  mpc-1.3.1.tar.gz
  mpc-1.3.1.tar.gz.sig

New:
----
  mpc-1.4.1.tar.xz
  mpc-1.4.1.tar.xz.sig

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

Other differences:
------------------
++++++ mpc.spec ++++++
--- /var/tmp/diff_new_pack.4FIiz9/_old  2026-04-23 17:09:52.609747462 +0200
+++ /var/tmp/diff_new_pack.4FIiz9/_new  2026-04-23 17:09:52.609747462 +0200
@@ -1,7 +1,8 @@
 #
 # spec file for package mpc
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
+# Copyright (c) 2026 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +17,16 @@
 #
 
 
+%define sover 3
 Name:           mpc
-Version:        1.3.1
+Version:        1.4.1
 Release:        0
-Summary:        multiple-precision complex shared library
+Summary:        Multiple-precision complex shared library
 License:        LGPL-3.0-or-later
 Group:          Development/Libraries/C and C++
-URL:            http://www.multiprecision.org/mpc/
-Source0:        https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
-Source1:        https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz.sig
+URL:            https://www.multiprecision.org/mpc/
+Source0:        https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.xz
+Source1:        https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.xz.sig
 Source2:        %{name}.keyring
 Source3:        baselibs.conf
 BuildRequires:  pkgconfig
@@ -36,11 +38,11 @@
 arbitrarily high precision and correct rounding of the result. It is
 built upon and follows the same principles as MPFR.
 
-%package -n libmpc3
+%package -n libmpc%{sover}
 Summary:        MPC multiple-precision complex shared library
 Group:          Development/Libraries/C and C++
 
-%description -n libmpc3
+%description -n libmpc%{sover}
 MPC is a C library for the arithmetic of complex numbers with
 arbitrarily high precision and correct rounding of the result. It is
 built upon and follows the same principles as MPFR.
@@ -48,21 +50,19 @@
 %package devel
 Summary:        MPC multiple-precision complex library development files
 Group:          Development/Libraries/C and C++
-Requires:       libmpc3 = %{version}
-Requires:       pkgconfig(gmp) >= 5.0.0
-Requires:       pkgconfig(mpfr) >= 4.1.0
-Requires(post): %{install_info_prereq}
-Requires(preun):%{install_info_prereq}
+Requires:       libmpc%{sover} = %{version}
 
 %description devel
 MPC multiple-precision complex library development files.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
-%configure
+%configure \
+       --disable-static \
+       %{nil}
 %make_build
 
 %check
@@ -72,27 +72,17 @@
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%post -n libmpc3 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libmpc%{sover}
 
-%post devel
-%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
-
-%postun -n libmpc3 -p /sbin/ldconfig
-
-%preun devel
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
-
-%files -n libmpc3
-%defattr(-,root,root)
+%files -n libmpc%{sover}
 %license COPYING.LESSER
-%{_libdir}/libmpc.so.3*
+%{_libdir}/libmpc.so.%{sover}{,.*}
 
 %files devel
-%defattr(-,root,root)
 %license COPYING.LESSER
 %doc AUTHORS NEWS
 %{_infodir}/mpc.info%{?ext_info}
-%{_libdir}/libmpc.a
 %{_libdir}/libmpc.so
 %{_includedir}/mpc.h
+%{_libdir}/pkgconfig/mpc.pc
 

Reply via email to