- 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:
Cristian Rodríguez 2011-10-21 21:50:26 +00:00 committed by Git OBS Bridge
parent 39793b06e3
commit 46e70a9172
2 changed files with 13 additions and 3 deletions

View File

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

View File

@ -34,11 +34,10 @@ This library provides useful functions commonly found on BSD systems, and lackin
%prep
%setup -q
sed -i -e "s@/lib@/%{_lib}@g" Makefile
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
sed -i -e 's@${exec_prefix}/lib@/%{_lib}@g' -e 's@${prefix}/lib@%{_libdir}@g' Makefile
make %{?_smp_mflags}
%install
@ -60,8 +59,14 @@ rm -rf %{buildroot}
%files devel
%defattr(-,root,root)
%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
%{_includedir}/*
%{_mandir}/man3/*
%{_libdir}/pkgconfig/*.pc