Hello community,

here is the log from the commit of package uthash for openSUSE:Factory checked 
in at 2019-10-18 14:36:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uthash (Old)
 and      /work/SRC/openSUSE:Factory/.uthash.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uthash"

Fri Oct 18 14:36:55 2019 rev:4 rq:740913 version:2.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/uthash/uthash.changes    2017-01-25 
23:34:03.425807940 +0100
+++ /work/SRC/openSUSE:Factory/.uthash.new.2352/uthash.changes  2019-10-18 
14:36:58.843685092 +0200
@@ -1,0 +2,10 @@
+Thu Oct 17 23:15:07 UTC 2019 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 2.1.0
+  * The library moved to become a fully header-only library. There
+    is no more static archive. (And, for openSUSE, no more shared
+    library.)
+- Drop libut-shared.patch (fails to apply, usecase is gone)
+- Switch to noarch as there are only headers and doc now.
+
+-------------------------------------------------------------------

Old:
----
  libut-shared.patch
  uthash-2.0.1.tar.gz

New:
----
  uthash-2.1.0.tar.gz

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

Other differences:
------------------
++++++ uthash.spec ++++++
--- /var/tmp/diff_new_pack.2d59Lu/_old  2019-10-18 14:37:00.271681373 +0200
+++ /var/tmp/diff_new_pack.2d59Lu/_new  2019-10-18 14:37:00.279681352 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package uthash
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Pascal Bleser <pascal.ble...@opensuse.org>
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,24 +13,23 @@
 # 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/
 #
 
 
-%define sover 2
 Name:           uthash
-Version:        2.0.1
+Version:        2.1.0
 Release:        0
 Summary:        Inline hash table for C structures
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
-Url:            https://github.com/troydhanson/uthash
+URL:            https://github.com/troydhanson/uthash
 Source:         
https://github.com/troydhanson/uthash/archive/v%{version}/%{name}-%{version}.tar.gz
 Patch1:         uthash-proceed_with_tests_without_prompt.patch
 Patch2:         uthash-optflags.patch
-Patch3:         libut-shared.patch
 BuildRequires:  pkgconfig
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildArch:      noarch
 
 %description
 uthash implements a hash table for C structures. It requires adding
@@ -39,61 +38,31 @@
 %package devel
 Summary:        Development headers for uthash
 Group:          Development/Libraries/C and C++
-Requires:       libut%{sover} = %{version}
 Obsoletes:      uthash <= 1.9.9
 
 %description devel
 This package provides development headers for uthash, a hash table
 implementation for C structures.
 
-%package -n libut2
-Summary:        Inline hash table for C structures
-Group:          System/Libraries
-
-%description -n libut2
-uthash implements a hash table for C structures. It requires adding
-a UT_hash_handle-typed member to your existing structure definition.
-
 %prep
-%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autosetup -p1
 
 %build
-pushd libut
-make DESTDIR=%{buildroot} LIBDIR=%{_libdir} OPTFLAGS="%{optflags}"
-popd
 
 %install
-pushd libut
-make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} OPTFLAGS="%{optflags}"
-popd
-find %{buildroot} -type f -name "*.a" -delete -print
+b="%buildroot"
+mkdir -p "$b/%_includedir"
+cp -a src/*.h "$b/%_includedir/"
 
 %check
-pushd libut/tests
-make OPTFLAGS="%{optflags}"
-popd
 pushd tests
 OPTFLAGS="%{optflags}" \
-./all_funcs
+#./all_funcs
 popd
 
-%post -n libut%{sover} -p /sbin/ldconfig
-
-%postun -n libut%{sover} -p /sbin/ldconfig
-
-%files -n libut%{sover}
-%defattr(-,root,root)
-%doc LICENSE README.md
-%{_libdir}/libut.so.%{version}
-%{_libdir}/libut.so.%{sover}
-
 %files devel
 %defattr(-,root,root)
 %{_includedir}/*.h
-%{_libdir}/libut.so
-%{_libdir}/pkgconfig/uthash.pc
+%doc LICENSE README.md
 
 %changelog

++++++ uthash-2.0.1.tar.gz -> uthash-2.1.0.tar.gz ++++++
++++ 8987 lines of diff (skipped)

++++++ uthash-optflags.patch ++++++
--- /var/tmp/diff_new_pack.2d59Lu/_old  2019-10-18 14:37:00.399681040 +0200
+++ /var/tmp/diff_new_pack.2d59Lu/_new  2019-10-18 14:37:00.399681040 +0200
@@ -1,13 +1,17 @@
-Index: b/tests/Makefile
+---
+ tests/Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: uthash-2.1.0/tests/Makefile
 ===================================================================
---- a/tests/Makefile
-+++ b/tests/Makefile
-@@ -17,7 +17,7 @@ PROGS = test1 test2 test3 test4 test5 te
+--- uthash-2.1.0.orig/tests/Makefile
++++ uthash-2.1.0/tests/Makefile
+@@ -16,7 +16,7 @@ PROGS = test1 test2 test3 test4 test5 te
  CFLAGS += -I$(HASHDIR)
  #CFLAGS += -DHASH_BLOOM=16
  #CFLAGS += -O2
 -CFLAGS += -g
 +CFLAGS += $(OPTFLAGS)
  #CFLAGS += -Wstrict-aliasing=2
- CFLAGS += -Wall 
- #CFLAGS += -Wextra 
+ CFLAGS += -Wall
+ #CFLAGS += -Wextra


Reply via email to