- Fix missing headers, bug in spec file [bnc#725800]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbsd?expand=0&rev=5
This commit is contained in:
parent
39793b06e3
commit
46e70a9172
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 21 21:49:35 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Fix missing headers, bug in spec file [bnc#725800]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 2 22:29:17 UTC 2011 - crrodriguez@opensuse.org
|
Tue Aug 2 22:29:17 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
11
libbsd.spec
11
libbsd.spec
@ -34,11 +34,10 @@ This library provides useful functions commonly found on BSD systems, and lackin
|
|||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
sed -i -e "s@/lib@/%{_lib}@g" Makefile
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
export CXXFLAGS="%{optflags}"
|
export CXXFLAGS="%{optflags}"
|
||||||
|
sed -i -e 's@${exec_prefix}/lib@/%{_lib}@g' -e 's@${prefix}/lib@%{_libdir}@g' Makefile
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -60,8 +59,14 @@ rm -rf %{buildroot}
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ChangeLog
|
%doc ChangeLog
|
||||||
|
%dir %{_includedir}/bsd
|
||||||
|
%dir %{_includedir}/bsd/netinet
|
||||||
|
%dir %{_includedir}/bsd/sys
|
||||||
|
%{_includedir}/bsd/*.h
|
||||||
|
%{_includedir}/bsd/netinet/*.h
|
||||||
|
%{_includedir}/bsd/sys/*.h
|
||||||
|
%{_includedir}/*.h
|
||||||
%{_libdir}/libbsd.so
|
%{_libdir}/libbsd.so
|
||||||
%{_includedir}/*
|
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user