SHA256
8
0
forked from pool/uthash
2021-01-06 14:03:06 +00:00
committed by Git OBS Bridge
parent a250d3e927
commit 5f058da0dc

View File

@@ -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