Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mhash for openSUSE:Factory checked 
in at 2024-02-29 21:50:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mhash (Old)
 and      /work/SRC/openSUSE:Factory/.mhash.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mhash"

Thu Feb 29 21:50:22 2024 rev:27 rq:1153169 version:0.9.9.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/mhash/mhash.changes      2022-05-06 
19:00:26.261428579 +0200
+++ /work/SRC/openSUSE:Factory/.mhash.new.1770/mhash.changes    2024-02-29 
21:50:43.546806890 +0100
@@ -1,0 +2,6 @@
+Wed Feb 28 20:18:21 UTC 2024 - Thomas Renninger <[email protected]>
+
+- Use %autosetup instead of %patch based on pgajdos idea
+- Some spec-cleaner cleanups
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mhash.spec ++++++
--- /var/tmp/diff_new_pack.xEukFC/_old  2024-02-29 21:50:44.366837122 +0100
+++ /var/tmp/diff_new_pack.xEukFC/_new  2024-02-29 21:50:44.366837122 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mhash
 #
-# Copyright (c) 2022 SUSE LLC
+# 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
@@ -22,7 +22,7 @@
 Summary:        A Library for Working with Strong Hashes
 License:        GPL-2.0-or-later
 Group:          Development/Libraries/C and C++
-URL:            http://mhash.sourceforge.net/
+URL:            https://mhash.sourceforge.net/
 Source:         
https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
 Patch0:         %{name}-%{version}-shared.diff
 # PATCH-FIX-UPSTREAM fix-for-upstream-sources.patch sourceforge#2908478
@@ -34,7 +34,6 @@
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The mhash library provides an easy way to access strong hashes, such as
@@ -61,13 +60,7 @@
 MD5, SHA1, and other algorithms.
 
 %prep
-%setup -q
-%patch0
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
+%autosetup -p1
 
 %build
 autoreconf --force --install
@@ -75,30 +68,29 @@
        --with-pic \
        --disable-static
 
-make %{?_smp_mflags}
+%make_build
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 # useless .la file 
 rm %{buildroot}%{_libdir}/lib%{name}.la
 
 %check
-make %{?_smp_mflags} check
+%make_build check
 
 %post -n lib%{name}2 -p /sbin/ldconfig
-
 %postun -n lib%{name}2 -p /sbin/ldconfig
 
 %files -n lib%{name}2
-%defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
 %{_libdir}/libmhash.so.*
 
 %files devel
-%defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
 %doc doc/skid2-authentication doc/example.c
-%doc %{_mandir}/man?/*
+%{_mandir}/man?/*
 %{_includedir}/*
 %{_libdir}/libmhash.so
 

++++++ mhash-0.9.9.9-shared.diff ++++++
--- /var/tmp/diff_new_pack.xEukFC/_old  2024-02-29 21:50:44.402838448 +0100
+++ /var/tmp/diff_new_pack.xEukFC/_new  2024-02-29 21:50:44.406838596 +0100
@@ -1,7 +1,7 @@
 Index: lib/Makefile.am
 ===================================================================
---- lib/Makefile.am.orig
-+++ lib/Makefile.am
+--- a/lib/Makefile.am.orig
++++ b/lib/Makefile.am
 @@ -27,6 +27,8 @@ libmhash_la_SOURCES = $(FRAMEWORK) $(KEY
  
  libmhash_la_LDFLAGS = -version-info 2:1

Reply via email to