Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ngspice for openSUSE:Factory checked in at 2026-10-26 09:59:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ngspice (Old) and /work/SRC/openSUSE:Factory/.ngspice.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ngspice" Mon Oct 26 09:59:50 2026 rev:16 rq:1392354 version:47 Changes: -------- --- /work/SRC/openSUSE:Factory/ngspice/ngspice.changes 2026-07-10 17:41:57.914541899 +0200 +++ /work/SRC/openSUSE:Factory/.ngspice.new.2252680/ngspice.changes 2026-10-26 10:00:20.796578712 +0100 @@ -1,0 +2,26 @@ +Sun Oct 25 06:52:29 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 47: + * Update periodic state simulation (PSS) and examples. + * Small signal noise simulation for code models. + * Printing outputs with engineering exponents. + * New instance parameters td and r for the ISRC pwl source. + * Reading and writing audio files (*.wav) with new dot commands + .sndprint and .sndparam. + * Vdmos bulk diode now uses a soft recovery model; dc sweep for + capacitance measurement added or corrected in several models. + * New XSPICE macros TSTEP and TSTOP, new behavioral capacitor + model, multi-bit ADC/DAC bridges with Schmitt trigger. + * New pyplot command rendering simulated vectors with matplotlib. + * Allow spice notations like 2n or 5m in filesource inputs. +- Add libsamplerate-devel and libsndfile-devel BuildRequires for + audio file support. +- Add sharedspice-missing-return.patch fixing the shared-library + flavor build (missing return value when the process name cannot + be read). +- Version the libngspice shared-library data Requires so the + matching scripts and code models are always pulled in (boo#1236657). +- Spec cleanup: drop obsolete Group tags (spec-cleaner canonical, + plain -devel dependency names kept on purpose). + +------------------------------------------------------------------- Old: ---- ngspice-46.tar.gz New: ---- ngspice-47.tar.gz sharedspice-missing-return.patch ----------(New B)---------- New: audio file support. - Add sharedspice-missing-return.patch fixing the shared-library flavor build (missing return value when the process name cannot ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ngspice.spec ++++++ --- /var/tmp/diff_new_pack.SVni9U/_old 2026-10-26 10:00:22.171636402 +0100 +++ /var/tmp/diff_new_pack.SVni9U/_new 2026-10-26 10:00:22.172636444 +0100 @@ -16,38 +16,42 @@ # -%bcond_with oldapps - %global flavor @BUILD_FLAVOR@%{nil} - -%if "%flavor" == "shlibs" +%if "%{flavor}" == "shlibs" %define build_shared 1 %endif %define pname ngspice - -Name: %pname%{?build_shared:-shared} %define so_ver 0 -Version: 46 +%bcond_with oldapps +Name: %{pname}%{?build_shared:-shared} +Version: 47 Release: 0 Summary: Mixed-level, Mixed-signal Circuit Simulator Based on spice3f5 License: BSD-2-Clause -Group: Productivity/Scientific/Electronics URL: https://ngspice.sourceforge.io Source0: https://downloads.sourceforge.net/%{pname}/%{pname}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM sharedspice-missing-return.patch [email protected] -- return NULL when the process name cannot be read, fixes return-type FTBFS in the shared-library flavor +Patch0: sharedspice-missing-return.patch +# NOTE: plain -devel names kept on purpose below. The automatic +# provider-name conversion over-expands single providers into several +# lines, which hurts readability without changing the build root. BuildRequires: bison BuildRequires: fftw3-devel BuildRequires: gcc-c++ +BuildRequires: libsamplerate-devel +BuildRequires: libsndfile-devel +BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: pkgconfig(tinfo) +Requires: %{pname}-scripts = %{version} +Requires: %{pname}-xspice-cm = %{version} +Recommends: %{pname}-doc = %{version} %if ! 0%{?build_shared} BuildRequires: libXaw-devel BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXmu-devel %endif -Requires: %{pname}-scripts = %{version} -Requires: %{pname}-xspice-cm = %{version} -Recommends: %{pname}-doc = %{version} %description Ngspice is a mixed-level/mixed-signal circuit simulator. Its code @@ -56,7 +60,6 @@ %package oldapps Summary: Some deprecated applications included in ngspice -Group: Productivity/Scientific/Electronics Requires: %{pname} = %{version} Provides: %{pname}:%{_bindir}/ngmakeidx @@ -71,7 +74,6 @@ %package xspice-cm Summary: Xspice code model Plugins -Group: Productivity/Scientific/Electronics %description xspice-cm Ngspice is a mixed-level/mixed-signal circuit simulator. Its code @@ -80,7 +82,6 @@ %package scripts Summary: Ngspice init scripts -Group: Productivity/Scientific/Electronics # https://sourceforge.net/p/ngspice/bugs/615/ # BuildArch: noarch @@ -92,9 +93,8 @@ %package -n lib%{pname}%{so_ver} Summary: Shared libraries for ngspice -Group: System/Libraries -Requires: %{pname}-scripts -Requires: %{pname}-xspice-cm +Requires: %{pname}-scripts = %{version} +Requires: %{pname}-xspice-cm = %{version} %description -n lib%{pname}%{so_ver} Ngspice is a mixed-level/mixed-signal circuit simulator. Its code @@ -103,7 +103,6 @@ %package -n lib%{pname}-devel Summary: Development files for ngspice -Group: Development/Libraries/Other Requires: lib%{pname}%{so_ver} = %{version} %description -n lib%{pname}-devel @@ -183,7 +182,6 @@ %{_libdir}/%{pname} %else - %files -n lib%{pname}%{so_ver} %{_libdir}/lib%{pname}.so.* ++++++ ngspice-46.tar.gz -> ngspice-47.tar.gz ++++++ /work/SRC/openSUSE:Factory/ngspice/ngspice-46.tar.gz /work/SRC/openSUSE:Factory/.ngspice.new.2252680/ngspice-47.tar.gz differ: char 5, line 1 ++++++ sharedspice-missing-return.patch ++++++ --- a/src/sharedspice.c 2026-08-10 15:26:57.000000000 +0200 +++ b/src/sharedspice.c 2026-10-25 07:58:36.453389864 +0100 @@ -2637,6 +2637,7 @@ fclose(f); return NULL; } + return NULL; #elif defined(_WIN32) char processPath[MAX_PATH]; // Passing NULL retrieves the path of the executable for the current process
