forked from pool/libuv
Accepting request 778770 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/778770 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libuv?expand=0&rev=20
This commit is contained in:
commit
01fb9c0ffe
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libuv1
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 09:15:39 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add baselibs.conf to generate 32bit lib needed for bind
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 4 11:17:12 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -22,12 +22,12 @@ Version: 1.34.2
|
||||
Release: 0
|
||||
Summary: Asychronous I/O support library
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://libuv.org
|
||||
Source0: https://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
||||
Source1: https://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz.sign
|
||||
# https://github.com/libuv/libuv/blob/v1.x/MAINTAINERS.md
|
||||
Source2: %{name}.keyring
|
||||
Source3: baselibs.conf
|
||||
Patch1: fix_tests.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -41,7 +41,6 @@ Mozilla's Rust language, Luvit, Julia, pyuv, and others.
|
||||
|
||||
%package -n libuv%{somajor}
|
||||
Summary: Asychronous I/O support library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libuv%{somajor}
|
||||
libuv is a support library with a focus on asynchronous I/O. It was
|
||||
@ -50,7 +49,6 @@ Mozilla's Rust language, Luvit, Julia, pyuv, and others.
|
||||
|
||||
%package devel
|
||||
Summary: Development libraries for libuv
|
||||
Group: Development/Libraries/C and C++
|
||||
BuildRequires: glibc-devel
|
||||
Requires: libuv%{somajor} = %{version}
|
||||
|
||||
@ -69,14 +67,14 @@ Mozilla's Rust language, Luvit, Julia, pyuv, and others.
|
||||
./autogen.sh
|
||||
%configure \
|
||||
--disable-static
|
||||
make %{?_smp_mflags} V=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
%make_build check
|
||||
|
||||
%post -n libuv%{somajor} -p /sbin/ldconfig
|
||||
%postun -n libuv%{somajor} -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user