commit uthash for openSUSE:Factory

2019-10-18 Thread root
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.changes2017-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 
+
+- 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 
 #
 # 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/tes

commit uthash for openSUSE:Factory

2017-01-25 Thread root
Hello community,

here is the log from the commit of package uthash for openSUSE:Factory checked 
in at 2017-01-25 23:34:02

Comparing /work/SRC/openSUSE:Factory/uthash (Old)
 and  /work/SRC/openSUSE:Factory/.uthash.new (New)


Package is "uthash"

Changes:

--- /work/SRC/openSUSE:Factory/uthash/uthash.changes2016-07-03 
12:28:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.uthash.new/uthash.changes   2017-01-25 
23:34:03.425807940 +0100
@@ -1,0 +2,18 @@
+Tue Jan 24 09:53:06 UTC 2017 - jeng...@inai.de
+
+- Rename soname to sover to reflect use of the variable
+- Update description to point out the implementation (and
+  therefore, restrictions). Update RPM group.
+
+---
+Sun Jul 10 04:01:35 UTC 2016 - i...@marguerite.su
+
+- update version 2.0.1
+  * add libut library
+  * fix build for GCC 6
+- upstream fixed boo#985142
+- add patch libut-shared.patch
+  * build shared version of libut
+- split new subpackage -devel and libut2
+
+---

Old:

  v1.9.9.tar.gz

New:

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



Other differences:
--
++ uthash.spec ++
--- /var/tmp/diff_new_pack.6da1j8/_old  2017-01-25 23:34:03.873740443 +0100
+++ /var/tmp/diff_new_pack.6da1j8/_new  2017-01-25 23:34:03.881739237 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package uthash
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Pascal Bleser 
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,48 +17,83 @@
 #
 
 
+%define sover 2
 Name:   uthash
-Version:1.9.9
+Version:2.0.1
 Release:0
-Summary:Hash Table for C Structures
+Summary:Inline hash table for C structures
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:http://uthash.sourceforge.net/
-Source: 
https://github.com/troydhanson/uthash/archive/v%{version}.tar.gz
+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
-Provides:   uthash-devel = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildArch:  noarch
 
 %description
-Any C structure can be stored in a hash table using uthash. Just add a
-UT_hash_handle to the structure and choose one or more fields in your structure
-to act as the key. Then use these macros to store, retrieve or delete items
-from the hash table.
+uthash implements a hash table for C structures. It requires adding
+a UT_hash_handle-typed member to your existing structure definition.
+
+%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
-%patch2
-chmod 644 LICENSE
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
+pushd libut
+make DESTDIR=%{buildroot} LIBDIR=%{_libdir} OPTFLAGS="%{optflags}"
+popd
 
 %install
-install -d "%{buildroot}%{_includedir}"
-cp -a src/*.h "%{buildroot}%{_includedir}/"
+pushd libut
+make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} OPTFLAGS="%{optflags}"
+popd
+find %{buildroot} -type f -name "*.a" -delete -print
+
+%check
+pushd libut/tests
+make OPTFLAGS="%{optflags}"
+popd
+pushd tests
+OPTFLAGS="%{optflags}" \
+./all_funcs
+popd
 
-#%check
-#pushd tests
-##OPTFLAGS="%{optflags}" \
-#./all_funcs
-#popd
+%post -n libut%{sover} -p /sbin/ldconfig
 
-%files
+%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
 
 %changelog

++ libut-shared.patch ++
Index: b/libut/Makefile
===
--- a/libut/Makefile
+++ b/libut/Makefile
@@ -1,33 +1,37 @@
-OBJS=libut.a
-all: $(OBJS) 
+SOURC

commit uthash for openSUSE:Factory

2016-07-03 Thread h_root
Hello community,

here is the log from the commit of package uthash for openSUSE:Factory checked 
in at 2016-07-03 12:28:19

Comparing /work/SRC/openSUSE:Factory/uthash (Old)
 and  /work/SRC/openSUSE:Factory/.uthash.new (New)


Package is "uthash"

Changes:

--- /work/SRC/openSUSE:Factory/uthash/uthash.changes2015-06-15 
17:48:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.uthash.new/uthash.changes   2016-07-03 
12:28:36.0 +0200
@@ -1,0 +2,6 @@
+Fri Jul  1 03:22:49 UTC 2016 - crrodrig...@opensuse.org
+
+- test suite is defective, at least with gcc 6 on x86. skip
+  for now.
+
+---



Other differences:
--
++ uthash.spec ++
--- /var/tmp/diff_new_pack.6EvvmS/_old  2016-07-03 12:28:36.0 +0200
+++ /var/tmp/diff_new_pack.6EvvmS/_new  2016-07-03 12:28:36.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package uthash
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Pascal Bleser 
 #
 # All modifications and additions to the file contributed by third parties
@@ -50,11 +50,11 @@
 install -d "%{buildroot}%{_includedir}"
 cp -a src/*.h "%{buildroot}%{_includedir}/"
 
-%check
-pushd tests
-OPTFLAGS="%{optflags}" \
-./all_funcs
-popd
+#%check
+#pushd tests
+##OPTFLAGS="%{optflags}" \
+#./all_funcs
+#popd
 
 %files
 %defattr(-,root,root)




commit uthash for openSUSE:Factory

2015-06-15 Thread h_root
Hello community,

here is the log from the commit of package uthash for openSUSE:Factory checked 
in at 2015-06-15 17:48:07

Comparing /work/SRC/openSUSE:Factory/uthash (Old)
 and  /work/SRC/openSUSE:Factory/.uthash.new (New)


Package is "uthash"

Changes:

New Changes file:

--- /dev/null   2015-05-15 19:41:08.266053825 +0200
+++ /work/SRC/openSUSE:Factory/.uthash.new/uthash.changes   2015-06-15 
17:48:10.0 +0200
@@ -0,0 +1,35 @@
+---
+Thu Mar  5 07:47:20 UTC 2015 - mplus...@suse.com
+
+- Update source url
+- Update to 1.9.9
+  * made HASH_ADD_STR compatible with char* or char[]
+  * fixed header inclusion of sys/types.h for ssize_t
+  * added LL_COUNT/DL_COUNT/CDL_COUNT
+  * added LRU cache example in tests/lru_cache
+  * fix LL_DELETE2 for VS2008
+  * fix missing argument in HASH_REPLACE_STR
+  * bump version number in source files to match docs
+  * add HASH_OVERHEAD macro to get overhead size for hash table
+- Changes for 1.9.8
+  * HASH_REPLACE now in uthash
+  * fixed clang warnings 
+  * fixed utarray_insert when inserting past array end
+  * you can now find uthash on GitHub
+  * there’s a uthash Google Group
+  * uthash has been downloaded 29,000+ times since 2006 on 
+SourceForge
+- Changes for 1.9.7
+  * utstring now supports substring search using utstring_find
+  * utlist now supports element prepend and replace
+  * utlist element prev/next fields can now have any names
+  * uthash cast quiets a clang warning
+  * uthash userguide example shows how to check key uniqueness
+  * uthash HASH_MUR compiles under MSVC++ 10 in C mode 
+  * utstring_printf now supports format checking
+
+---
+Tue Feb 28 05:57:45 CET 2012 - pascal.ble...@opensuse.org
+
+- initial version (1.9.5)
+

New:

  uthash-optflags.patch
  uthash-proceed_with_tests_without_prompt.patch
  uthash.changes
  uthash.spec
  v1.9.9.tar.gz



Other differences:
--
++ uthash.spec ++
#
# spec file for package uthash
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser 
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


Name:   uthash
Version:1.9.9
Release:0
Summary:Hash Table for C Structures
License:BSD-3-Clause
Group:  Development/Libraries/C and C++
Url:http://uthash.sourceforge.net/
Source: https://github.com/troydhanson/uthash/archive/v%{version}.tar.gz
Patch1: uthash-proceed_with_tests_without_prompt.patch
Patch2: uthash-optflags.patch
BuildRequires:  pkgconfig
Provides:   uthash-devel = %{version}
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch

%description
Any C structure can be stored in a hash table using uthash. Just add a
UT_hash_handle to the structure and choose one or more fields in your structure
to act as the key. Then use these macros to store, retrieve or delete items
from the hash table.

%prep
%setup -q
%patch1
%patch2
chmod 644 LICENSE

%build

%install
install -d "%{buildroot}%{_includedir}"
cp -a src/*.h "%{buildroot}%{_includedir}/"

%check
pushd tests
OPTFLAGS="%{optflags}" \
./all_funcs
popd

%files
%defattr(-,root,root)
%doc LICENSE README.md
%{_includedir}/*.h

%changelog
++ uthash-optflags.patch ++
--- tests/Makefile.orig 2012-02-28 06:59:43.004039444 +0100
+++ tests/Makefile  2012-02-28 07:00:11.846041678 +0100
@@ -13,9 +13,9 @@
 CFLAGS = -I$(HASHDIR) 
 #CFLAGS += -DHASH_BLOOM=16
 #CFLAGS += -O2
-CFLAGS += -g
+CFLAGS += $(OPTFLAGS)
 #CFLAGS += -Wstrict-aliasing=2
-CFLAGS += -Wall 
+CFLAGS += -Wall
 #CFLAGS += -std=c89
 CFLAGS += ${EXTRA_CFLAGS}
 
++ uthash-proceed_with_tests_without_prompt.patch ++
--- tests/all_funcs.orig2012-02-28 06:53:50.612011981 +0100
+++ tests/all_funcs 2012-02-28 06:58:50.329035345 +0100
@@ -1,8 +1,7 @@
 #!/bin/sh
 
 function proceed {
-  read -p "proceed ? [n] " response
-  if [ "$response" != "y" ]; then exit -1; fi
+:
 }
 
 make clean tests_only EXTRA_CFLAGS='-DHASH_FUNCTION=HASH_BER'; proceed