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
|
Patch1: uthash-proceed_with_tests_without_prompt.patch
|
||||||
Patch2: uthash-optflags.patch
|
Patch2: uthash-optflags.patch
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -50,9 +49,9 @@ implementation for C structures.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b=%{buildroot}
|
||||||
mkdir -p "$b/%_includedir"
|
mkdir -p "$b/%{_includedir}"
|
||||||
cp -a src/*.h "$b/%_includedir/"
|
cp -a src/*.h "$b/%{_includedir}/"
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd tests
|
pushd tests
|
||||||
@@ -61,8 +60,8 @@ OPTFLAGS="%{optflags}" \
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%doc LICENSE README.md
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user