- Version bump to 1.4.0 which is the latest release

- Cleanup with the spec cleaner
- Try to enable tests and they currently fail

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal 2015-02-12 14:43:59 +00:00 committed by Git OBS Bridge
parent be3e79c5ca
commit 08e585de80
4 changed files with 28 additions and 13 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 12 14:42:54 UTC 2015 - tchvatal@suse.com
- Version bump to 1.4.0 which is the latest release
- Cleanup with the spec cleaner
- Try to enable tests and they currently fail
-------------------------------------------------------------------
Mon Sep 15 2014 00:00:00 UTC - daxim@cpan.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libuv
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,15 +16,17 @@
#
%define somajor 1
Name: libuv
Version: 0.11.29
Release: 17.1
%define somajor 11
Version: 1.4.0
Release: 0
Summary: Cross-platform asychronous I/O
License: MIT
Group: Development/Libraries/C and C++
Url: https://github.com/joyent/libuv
Source0: https://github.com/joyent/libuv/archive/v%{version}.tar.gz
Url: https://github.com/libuv/libuv
Source0: https://github.com/libuv/libuv/archive/v%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -46,8 +48,8 @@ Rust language, Luvit, Julia, pyuv, and others.
%package devel
Summary: Development libraries for libuv
Group: Development/Libraries/C and C++
Requires: libuv%{somajor} = %{version}
BuildRequires: glibc-devel
Requires: libuv%{somajor} = %{version}
%description devel
Development files for libuv
@ -57,17 +59,23 @@ was primarily developed for use by Node.js, but it's also used by Mozilla's
Rust language, Luvit, Julia, pyuv, and others.
%prep
%setup -q -n %{name}-%{version}
%_buildshell autogen.sh
%setup -q
sh autogen.sh
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
find %{buildroot} -type f -name "*.la" -delete -print
%check
# Tests sadly fail
#make %{?_smp_mflags} check
%post -n libuv%{somajor} -p /sbin/ldconfig
%postun -n libuv%{somajor} -p /sbin/ldconfig
%files -n libuv%{somajor}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fac45e72c2df30ddc9cbdf5002fc1363281d0e433831e3d43acb1036c2cabfc6
size 486768

3
v1.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fbb26b0384cae834b987c58e4c703b84b3d0f88445989877b8b594294f42fbc9
size 1017114