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.000000000 +0200 @@ -0,0 +1,35 @@ +------------------------------------------------------------------- +Thu Mar 5 07:47:20 UTC 2015 - [email protected] + +- 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 - [email protected] + +- 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 <[email protected]> # # 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.orig 2012-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
