Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
uthash
uthash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File uthash.spec of Package uthash
# # spec file for package uthash # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor