diff --git a/libbsd-0.3.0.tar.bz2 b/libbsd-0.3.0.tar.bz2 deleted file mode 100644 index 6d3f353..0000000 --- a/libbsd-0.3.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b48afa83a98a4c34cc183bf73d3c48e0c8f6d1e760abfb5613ac80bde877c1a -size 82214 diff --git a/libbsd-0.4.2.tar.gz b/libbsd-0.4.2.tar.gz new file mode 100644 index 0000000..7ad09cc --- /dev/null +++ b/libbsd-0.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:922b4885e0ccfd64b92fcacdb3fba18024fcab1e0c1b073f5ec0fe76388cbfdc +size 442436 diff --git a/libbsd.changes b/libbsd.changes index 31a47fc..f101282 100644 --- a/libbsd.changes +++ b/libbsd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 20 16:30:51 UTC 2012 - crrodriguez@opensuse.org + +- Version 0.4.2, swithes to autoconf build system. + ------------------------------------------------------------------- Fri Feb 17 00:32:12 UTC 2012 - crrodriguez@opensuse.org diff --git a/libbsd.spec b/libbsd.spec index 02232b6..b74709b 100644 --- a/libbsd.spec +++ b/libbsd.spec @@ -1,11 +1,11 @@ Name: libbsd -Version: 0.3.0 +Version: 0.4.2 Release: 0 License: BSD-3-Clause Summary: Provides useful functions commonly found on BSD systems Url: http://libbsd.freedesktop.org/ Group: System Environment/Libraries -Source: %{name}-%{version}.tar.bz2 +Source: %{name}-%{version}.tar.gz BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -34,15 +34,14 @@ This library provides useful functions commonly found on BSD systems, and lackin %setup -q %build -export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags}" -sed -i -e 's@${exec_prefix}/lib@%{_libdir}@g' -e 's@${prefix}/lib@%{_libdir}@g' Makefile +%configure --disable-static --with-pic make %{?_smp_mflags} %install +%make_install + +rm -rf %{buildroot}%{_libdir}/libbsd.la -make install DESTDIR=%{buildroot} -rm -f %{buildroot}%{_libdir}/*.a %post -n libbsd0 -p /sbin/ldconfig @@ -61,7 +60,6 @@ rm -f %{buildroot}%{_libdir}/*.a %{_includedir}/bsd/*.h %{_includedir}/bsd/netinet/*.h %{_includedir}/bsd/sys/*.h -%{_includedir}/*.h %{_libdir}/libbsd.so %{_mandir}/man3/* %{_libdir}/pkgconfig/*.pc