forked from pool/uthash
This commit is contained in:
11
uthash.spec
11
uthash.spec
@@ -28,7 +28,6 @@ Source: https://github.com/troydhanson/uthash/archive/v%{version}/%{name
|
||||
Patch1: uthash-proceed_with_tests_without_prompt.patch
|
||||
Patch2: uthash-optflags.patch
|
||||
BuildRequires: pkgconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@@ -50,9 +49,9 @@ implementation for C structures.
|
||||
%build
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
mkdir -p "$b/%_includedir"
|
||||
cp -a src/*.h "$b/%_includedir/"
|
||||
b=%{buildroot}
|
||||
mkdir -p "$b/%{_includedir}"
|
||||
cp -a src/*.h "$b/%{_includedir}/"
|
||||
|
||||
%check
|
||||
pushd tests
|
||||
@@ -61,8 +60,8 @@ OPTFLAGS="%{optflags}" \
|
||||
popd
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%doc LICENSE README.md
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user