Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hardinfo for openSUSE:Factory 
checked in at 2021-11-10 21:46:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hardinfo (Old)
 and      /work/SRC/openSUSE:Factory/.hardinfo.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hardinfo"

Wed Nov 10 21:46:29 2021 rev:6 rq:930555 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/hardinfo/hardinfo.changes        2018-03-06 
10:49:19.163881081 +0100
+++ /work/SRC/openSUSE:Factory/.hardinfo.new.1890/hardinfo.changes      
2021-11-10 21:47:00.799826229 +0100
@@ -1,0 +2,6 @@
+Tue Nov  9 15:04:49 UTC 2021 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Add hardinfo-dyamic-libsoup.patch: Do not link libsoup
+  statically.
+
+-------------------------------------------------------------------

New:
----
  hardinfo-dyamic-libsoup.patch

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

Other differences:
------------------
++++++ hardinfo.spec ++++++
--- /var/tmp/diff_new_pack.4oBpKs/_old  2021-11-10 21:47:01.195826402 +0100
+++ /var/tmp/diff_new_pack.4oBpKs/_new  2021-11-10 21:47:01.199826404 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hardinfo
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -22,10 +22,11 @@
 Summary:        Displays system information
 License:        GPL-2.0-only
 Group:          System/Benchmark
-Url:            http://hardinfo.org/
+URL:            http://hardinfo.org/
 Source:         
http://downloads.sf.net/%{name}.berlios/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM hardinfo-0.5.1-reproducible.patch bwiedem...@suse.com -- 
make build reproducible
 Patch0:         hardinfo-0.5.1-reproducible.patch
+Patch1:         hardinfo-dyamic-libsoup.patch
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
@@ -36,7 +37,7 @@
 BuildRequires:  pkgconfig(mount)
 Recommends:     apcupsd
 Recommends:     sensors
-ExclusiveArch:  %ix86 x86_64
+ExclusiveArch:  %{ix86} x86_64
 
 %description
 HardInfo is a small application that displays information about your
@@ -46,8 +47,7 @@
 parallel port devices.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 cat > %{name}.desktop << EOF
 [Desktop Entry]
@@ -70,7 +70,7 @@
 
 %endif
 %configure --prefix=%{_prefix}
-make ARCHOPTS="%{optflags} -fgnu89-inline" %{?_smp_mflags}
+%make_build ARCHOPTS="%{optflags} -fgnu89-inline"
 
 %install
 %make_install
@@ -89,7 +89,7 @@
 %endif
 
 %files
-%doc LICENSE
+%license LICENSE
 %{_bindir}/%{name}
 %{_libdir}/%{name}/
 %{_datadir}/%{name}/

++++++ hardinfo-dyamic-libsoup.patch ++++++
Index: hardinfo-0.5.1/configure
===================================================================
--- hardinfo-0.5.1.orig/configure
+++ hardinfo-0.5.1/configure
@@ -142,8 +142,8 @@ for i in `which pkg-config`; do
                --atleast-version=$MIN_VERSION > /dev/null
        case $? in
                0)
-                       SOUP_FLAGS=`pkg-config libsoup-2.4 --cflags --static`
-                       SOUP_LIBS=`pkg-config libsoup-2.4 --libs --static`
+                       SOUP_FLAGS=`pkg-config libsoup-2.4 gmodule-2.0 --cflags`
+                       SOUP_LIBS=`pkg-config libsoup-2.4 gmodule-2.0 --libs`
                        echo "found `pkg-config libsoup-2.4 --modversion`"
                        SOUP=1
                        break ;;
@@ -222,7 +222,7 @@ echo -e "\n#endif   /* __CONFIG_H__ */" >>
 echo "Writing Makefile..."
 rm -f Makefile
 
-echo "GTK_LIBS = -lpthread -lgthread-2.0 -lrt ${GTK_LIBS}" > Makefile
+echo "GTK_LIBS = -lpthread -lgthread-2.0 -lrt -lm ${GTK_LIBS}" > Makefile
 echo "GTK_CFLAGS = ${GTK_FLAGS}" >> Makefile
 echo "SOUP_LIBS = ${SOUP_LIBS}" >> Makefile
 echo "SOUP_CFLAGS = ${SOUP_FLAGS}" >> Makefile

Reply via email to