I have made the following changes intended for : CE:MW:Shared / uthash Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below.
https://build.pub.meego.com//request/show/3039 Thank You, bossbot ([email protected]) [This message was auto-generated] --- Request # 3039: Messages from BOSS: None State: review 2011-11-10T08:21:26 bossbot Reviews: from bossbot :Prechecks completed; none failed. accepted on No date from None Changes: submit: home:sage:branches:CE:MW:Shared / uthash -> CE:MW:Shared / uthash Index: uthash.changes =================================================================== --- uthash.changes (revision 1) +++ uthash.changes (revision 2) @@ -1,7 +1,10 @@ +* Thu Nov 10 2011 Marko Saukko <[email protected]> - 1.9.4 +- Updated to version 1.9.4 and added .yaml for spectacle. +- Enabled test builds. + * Thu May 12 2011 Ulf Hofemeier <[email protected]> - 1.9.3 - Updated license tag in RPM spec file to say BSD-style single-clause * Wed Dec 01 2010 Ryan Ware <[email protected]> - 1.9.3 - initial packaging - FEA#9093 - Index: uthash.spec =================================================================== --- uthash.spec (revision 1) +++ uthash.spec (revision 2) @@ -1,11 +1,19 @@ -Summary: A hash table for C structures -Name: uthash -Version: 1.9.3 -Release: 1 -License: BSD-style single-clause -Group: System/Kernel -BuildRoot: %{_tmppath}/%{name}-%{version}-root -Source0: %{name}-%{version}.tar.bz2 +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.23 +# +# >> macros +# << macros + +Name: uthash +Summary: A hash table for C structures +Version: 1.9.4 +Release: 1 +Group: System/Kernel +License: BSD-style single-clause +Source0: %{name}-%{version}.tar.bz2 +Source100: uthash.yaml + %description Any C structure can be stored in a hash table using @@ -14,31 +22,60 @@ act as the key. Then use these macros to store, retrieve or delete items from the hash table. + + %package devel -Summary: %{summary} -Group: Development/Libraries +Summary: %{summary} +Group: Development/Libraries %description devel Description: %{summary} + %prep -%setup -q +%setup -q -n %{name}-%{version} + +# >> setup +# << setup + %build +# >> build pre +# << build pre + + +# >> build post +# Running tests. +cd tests +make +# << build post %install -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} +# >> install pre +# << install pre +# >> install post mkdir -p $RPM_BUILD_ROOT/usr/include cd src cp utarray.h uthash.h utlist.h utstring.h $RPM_BUILD_ROOT/usr/include +# << install post + + + + + + + + -%clean %files devel %defattr(-,root,root,-) +# >> files devel %{_includedir}/utarray.h %{_includedir}/uthash.h %{_includedir}/utlist.h %{_includedir}/utstring.h +# << files devel Index: uthash-1.9.4.tar.bz2 =================================================================== Binary files uthash-1.9.4.tar.bz2 (revision 2) added Index: uthash.yaml =================================================================== --- uthash.yaml (added) +++ uthash.yaml (revision 2) @@ -0,0 +1,24 @@ +Name: uthash +Summary: A hash table for C structures +Version: 1.9.4 +Release: 1 +Group: System/Kernel +License: BSD-style single-clause +Sources: + - "%{name}-%{version}.tar.bz2" +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. + +Configure: none +Builder: none +NoFiles: yes +SubPackages: + - Name: devel + Summary: "%{summary}" + Group: Development/Libraries + Description: "Description: %{summary}" + Index: Makefile =================================================================== --- Makefile (revision 1) +++ Makefile (deleted) @@ -1,6 +0,0 @@ -PKG_NAME := uthash -SPECFILE = $(addsuffix .spec, $(PKG_NAME)) -YAMLFILE = $(addsuffix .yaml, $(PKG_NAME)) - - -include /usr/share/packaging-tools/Makefile.common Index: uthash-1.9.3.tar.bz2 =================================================================== Binary files uthash-1.9.3.tar.bz2 (revision 1) deleted
