From a3edc2d0d83085e73cf9dc8feea317183a984ef8 Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Tue, 6 May 2014 11:54:27 +0800 Subject: [PATCH] Update to 1.9.9 --- .gitignore | 1 + sources | 2 +- uthash.spec | 27 +++++++++++++++++---------- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 797c172..f984a67 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /v1.9.8.tar.gz +/uthash-1.9.9.tar.gz diff --git a/sources b/sources index 5a793d7..c6700e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5a893cda95fec662b3da838b54076507 v1.9.8.tar.gz +c3ce9197c818dcb7ca85b59912f310a4 uthash-1.9.9.tar.gz diff --git a/uthash.spec b/uthash.spec index 4f6207f..e529cf7 100644 --- a/uthash.spec +++ b/uthash.spec @@ -1,13 +1,10 @@ Name: uthash -Version: 1.9.8 -Release: 4%{?dist} +Version: 1.9.9 +Release: 1%{?dist} Summary: A hash table for C structures License: BSD URL: http://troydhanson.github.io/uthash -Source0: https://github.com/troydhanson/%{name}/archive/v%{version}.tar.gz -Patch0: uthash-remove-failed-tests.patch -BuildArch: noarch -Provides: %{name}-devel = %{version}-%{release} +Source0: https://github.com/troydhanson/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz %description Any C structure can be stored in a hash table using uthash. Just add a @@ -15,25 +12,35 @@ 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. +%package devel +Summary: Development files for %{name} +Provides: %{name}-static = %{version}-%{release} + +%description devel +This package contains libraries and header files for +developing applications that use %{name}. + %prep %setup -q -%patch0 -p1 %build +# This is a header only package. %install install -d %{buildroot}%{_includedir} -cp -pa src/*.h %{buildroot}%{_includedir}/ +install -pm0644 src/*.h %{buildroot}%{_includedir}/ %check -cd tests -make %{?_smp_mflags} +cd tests && make %{?_smp_mflags} %files %doc LICENSE doc/*.txt %{_includedir}/ut*.h %changelog +* Sat Mar 29 2014 Christopher Meng - 1.9.9-1 +- Update to 1.9.9 + * Sun Aug 04 2013 Fedora Release Engineering - 1.9.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild