- Cleanup spec file for factory submission

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbsd?expand=0&rev=7
This commit is contained in:
Cristian Rodríguez 2012-02-17 00:32:42 +00:00 committed by Git OBS Bridge
parent be0e0da900
commit ffe139900b
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 17 00:32:12 UTC 2012 - crrodriguez@opensuse.org
- Cleanup spec file for factory submission
-------------------------------------------------------------------
Wed Feb 1 03:14:38 UTC 2012 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
Name: libbsd
Version: 0.3.0
Release: 0
License: BSD/MIT
License: BSD-3-Clause
Summary: Provides useful functions commonly found on BSD systems
Url: http://libbsd.freedesktop.org/
Group: System Environment/Libraries
@ -36,7 +36,7 @@ This library provides useful functions commonly found on BSD systems, and lackin
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
sed -i -e 's@${exec_prefix}/lib@/%{_lib}@g' -e 's@${prefix}/lib@%{_libdir}@g' Makefile
sed -i -e 's@${exec_prefix}/lib@%{_libdir}@g' -e 's@${prefix}/lib@%{_libdir}@g' Makefile
make %{?_smp_mflags}
%install
@ -50,7 +50,7 @@ rm -f %{buildroot}%{_libdir}/*.a
%files -n libbsd0
%defattr(-, root, root)
/%{_lib}/libbsd.so.0*
%{_libdir}/libbsd.so.0*
%files devel
%defattr(-,root,root)