Blame SPECS/libuv.spec

a62079
# Some of the tests do not work with the network-free environment in Koji
a62079
# The packager should run `fedpkg local --with tests` on their machine
a62079
# before pushing to Koji
a62079
%bcond_with tests
a62079
4cb091
Name:           libuv
4cb091
Epoch:          1
594a0f
Version:        1.40.0
594a0f
Release:        1%{?dist}
4cb091
Summary:        Platform layer for node.js
4cb091
4cb091
# the licensing breakdown is described in detail in the LICENSE file
4cb091
License:        MIT and BSD and ISC
4cb091
URL:            http://libuv.org/
4cb091
Source0:        http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
4cb091
Source2:        %{name}.pc.in
a62079
Source3:        libuv.abignore
4cb091
4cb091
BuildRequires:  autoconf automake libtool
4cb091
BuildRequires:  gcc
4cb091
a62079
%if %{with tests}
a62079
# don't remove network tests
a62079
%else
a62079
# -- Patches -- #
a62079
Patch1:         0001-Disable-failing-network-tests.patch
a62079
%endif
a62079
4cb091
%description
4cb091
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on
4cb091
Windows and libev on Unix systems. We intend to eventually contain all platform
4cb091
differences in this library.
4cb091
4cb091
%package devel
4cb091
Summary:        Development libraries for libuv
4cb091
Requires:       %{name}%{?_isa} = %{epoch}:%{version}-%{release}
4cb091
4cb091
%description devel
4cb091
Development libraries for libuv
4cb091
4cb091
%package static
4cb091
Summary:        Platform layer for node.js - static library
4cb091
Requires:       %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
4cb091
4cb091
%description static
4cb091
Static library (.a) version of libuv.
4cb091
a62079
4cb091
%prep
4cb091
%autosetup -n %{name}-v%{version} -p1
4cb091
4cb091
%build
4cb091
./autogen.sh
4cb091
%configure --disable-silent-rules
4cb091
%make_build
4cb091
4cb091
%install
4cb091
%make_install
4cb091
rm -f %{buildroot}%{_libdir}/libuv.la
4cb091
a62079
mkdir -p %{buildroot}%{_libdir}/libuv/
a62079
install -Dm0644 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3}
a62079
4cb091
%check
4cb091
# Tests are currently disabled because some require network access
4cb091
# Working with upstream to split these out
4cb091
#./run-tests
4cb091
#./run-benchmarks
4cb091
a62079
make check
a62079
4cb091
%ldconfig_scriptlets
4cb091
4cb091
%files
4cb091
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
4cb091
%doc ChangeLog
4cb091
%license LICENSE
4cb091
%{_libdir}/%{name}.so.*
a62079
%{_libdir}/libuv/libuv.abignore
4cb091
4cb091
%files devel
4cb091
%{_libdir}/%{name}.so
4cb091
%{_libdir}/pkgconfig/%{name}.pc
4cb091
%{_includedir}/uv.h
4cb091
%{_includedir}/uv/
4cb091
4cb091
%files static
4cb091
%{_libdir}/%{name}.a
4cb091
4cb091
%changelog
594a0f
* Mon Jan 25 2021 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.40.0-1
594a0f
- Rebase to 1.40.0
594a0f
- Resolves: RHBZ#1895872
594a0f
- Ship libuv-devel
594a0f
a62079
* Wed Sep 23 2020 Honza Horak <hhorak@redhat.com> - 1:1.38.0-2
a62079
- Fix max path size by not using _POSIX_PATH_MAX
594a0f
  Resolves: #1881870
a62079
  Fixes: CVE-2020-8252
a62079
a62079
* Tue Jun 09 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.38.0-1
a62079
- Update, disable failing tests
a62079
a62079
* Thu May 28 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.37.0-3
a62079
- Run tests
a62079
a62079
* Mon May 11 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.37.0-2
a62079
- Resolves: RHBZ#1817821
a62079
- bump for build
a62079
a62079
* Mon May 04 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.37.0-1
a62079
- Resolves: RHBZ#1817821
a62079
- Update to 1.37.0
a62079
- Add abidiff ignore file
a62079
4cb091
* Mon Oct 08 2018 Jan Staněk <jstanek@redhat.com> - 1:1.23.1-1
4cb091
- Update to 1.23.1
4cb091
- Resolves: rhbz#1637000
4cb091
4cb091
* Mon Jul 30 2018 Florian Weimer <fweimer@redhat.com> - 1:1.22.0-2
4cb091
- Rebuild with fixed binutils
4cb091
4cb091
* Mon Jul 30 2018 Zuzana Svetlikova ,zsvetlik@redhat.com> - 1.22.0-1
4cb091
- Update to 1.22.0
4cb091
4cb091
* Mon Feb 26 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.19.2-1
4cb091
- Update to 1.19.2
4cb091
- https://github.com/libuv/libuv/blob/v1.19.2/ChangeLog
4cb091
4cb091
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.19.1-3
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4cb091
4cb091
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.19.1-2
4cb091
- Switch to %%ldconfig_scriptlets
4cb091
4cb091
* Sat Jan 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.19.1-1
4cb091
- Update to 1.19.1
4cb091
4cb091
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.19.0-2
4cb091
- Revert few commits which cause regression for nodejs
4cb091
4cb091
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.19.0-1
4cb091
- Update to 1.19.0
4cb091
4cb091
* Sat Nov 11 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 1:1.16.1-1
4cb091
- Update to 1.16.1 (rhbz #1512184)
4cb091
4cb091
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.16.0-1
4cb091
- Update to 1.16.0
4cb091
4cb091
* Tue Oct 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.15.0-1
4cb091
- Update to 1.15.0
4cb091
4cb091
* Fri Sep 08 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.14.1-1
4cb091
- Update to 1.14.1
4cb091
- https://github.com/libuv/libuv/blob/v1.14.1/ChangeLog
4cb091
4cb091
* Thu Aug 17 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.14.0-1
4cb091
- Update to 1.14.0
4cb091
- https://github.com/libuv/libuv/blob/v1.14.0/ChangeLog
4cb091
4cb091
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.13.1-3
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4cb091
4cb091
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.13.1-2
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4cb091
4cb091
* Mon Jul 10 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.12.0-1
4cb091
- Update to 1.13.1
4cb091
- https://github.com/libuv/libuv/blob/v1.13.1/ChangeLog
4cb091
4cb091
* Thu Jun 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.12.0-1
4cb091
- Update to 1.12.0
4cb091
- https://github.com/libuv/libuv/blob/v1.12.0/ChangeLog
4cb091
4cb091
* Tue Feb 28 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.11.0-1
4cb091
- Update to 1.11.0
4cb091
- https://github.com/libuv/libuv/blob/v1.11.0/ChangeLog
4cb091
4cb091
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.2-2
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4cb091
4cb091
* Thu Jan 19 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.10.2-1
4cb091
- Update to 1.10.2
4cb091
- Resolves: RHBZ#1395927
4cb091
4cb091
* Sat Nov 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.10.1-1
4cb091
- Update to 1.10.1 (RHBZ #1395927)
4cb091
4cb091
* Mon Oct 24 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.10.0-1
4cb091
- Update to 1.10.0
4cb091
- https://github.com/libuv/libuv/blob/v1.10.0/ChangeLog
4cb091
4cb091
* Wed May 18 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.9.1-1
4cb091
- Update to 1.9.1
4cb091
- https://github.com/libuv/libuv/blob/v1.9.1/ChangeLog
4cb091
4cb091
* Mon May 09 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.9.0-1
4cb091
- Rebase to 1.9.0 to support Node.js 6.x
4cb091
4cb091
* Thu Mar 10 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.8.0-1
4cb091
- Rebase to 1.8.0 to support Node.js 5.8
4cb091
4cb091
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.7.5-2
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4cb091
4cb091
* Tue Dec 01 2015 Stephen Gallagher <sgallagh@redhat.com> 1.7.5-1
4cb091
- Rebase to 1.7.5 to support Node.js 4.2
4cb091
4cb091
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.0-2
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4cb091
4cb091
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:1.4.0-1
4cb091
- rebase to 1.4.0
4cb091
4cb091
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.33-2
4cb091
- add missing %%{_?isa} to devel requires of main package
4cb091
- fix some issues with the pkgconfig file and Group reported by Michael Schwendt
4cb091
4cb091
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.33-1
4cb091
- new upstream release 0.10.33
4cb091
  https://github.com/joyent/libuv/blob/v0.10.33/ChangeLog
4cb091
- update URL to point to the new libuv.org
4cb091
4cb091
* Wed Nov 19 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.29-1
4cb091
- new upstream release 0.10.29
4cb091
  https://github.com/joyent/libuv/blob/v0.10.29/ChangeLog
4cb091
4cb091
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.10.28-2
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4cb091
4cb091
* Fri Aug 01 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.28-1
4cb091
- new upstream release 0.10.28
4cb091
  https://github.com/joyent/libuv/blob/v0.10.28/ChangeLog
4cb091
4cb091
* Thu Jul 03 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.27-3
4cb091
- build static library for rust (RHBZ#1115975)
4cb091
4cb091
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.10.27-2
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4cb091
4cb091
* Fri May 02 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.27-1
4cb091
- new upstream release 0.10.27
4cb091
  https://github.com/joyent/libuv/blob/v0.10.27/ChangeLog
4cb091
4cb091
* Thu Feb 20 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.25-1
4cb091
- new upstream release 0.10.25
4cb091
  https://github.com/joyent/libuv/blob/v0.10.25/ChangeLog
4cb091
4cb091
* Mon Jan 27 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.23-1
4cb091
- new upstream release 0.10.23
4cb091
  https://github.com/joyent/libuv/blob/v0.10.23/ChangeLog
4cb091
4cb091
* Thu Dec 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.21-1
4cb091
- new upstream release 0.10.21
4cb091
  https://github.com/joyent/libuv/blob/v0.10.21/ChangeLog
4cb091
4cb091
* Thu Dec 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.20-1
4cb091
- new upstream release 0.10.20
4cb091
  https://github.com/joyent/libuv/blob/v0.10.20/ChangeLog
4cb091
4cb091
* Tue Nov 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.19-1
4cb091
- new upstream release 0.10.19
4cb091
  https://github.com/joyent/libuv/blob/v0.10.19/ChangeLog
4cb091
4cb091
* Fri Oct 18 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.18-1
4cb091
- new upstream release 0.10.18
4cb091
  https://github.com/joyent/libuv/blob/v0.10.18/ChangeLog
4cb091
4cb091
* Wed Sep 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.17-1
4cb091
- new upstream release 0.10.17
4cb091
  https://github.com/joyent/libuv/blob/v0.10.17/ChangeLog
4cb091
4cb091
* Fri Sep 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.15-1
4cb091
- new upstream release 0.10.15
4cb091
  https://github.com/joyent/libuv/blob/v0.10.15/ChangeLog
4cb091
4cb091
* Tue Aug 27 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.14-1
4cb091
- new upstream release 0.10.14
4cb091
  https://github.com/joyent/libuv/blob/v0.10.14/ChangeLog
4cb091
4cb091
* Thu Jul 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.13-1
4cb091
- new upstream release 0.10.13
4cb091
  https://github.com/joyent/libuv/blob/v0.10.13/ChangeLog
4cb091
4cb091
* Wed Jul 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.12-1
4cb091
- new upstream release 0.10.12
4cb091
4cb091
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.11-1
4cb091
- new upstream release 0.10.11
4cb091
4cb091
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.9-1
4cb091
- new upstream release 0.10.9
4cb091
4cb091
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.8-2
4cb091
- fix License tag (RHBZ#968226)
4cb091
4cb091
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.8-1
4cb091
- new upstream release 0.10.8
4cb091
4cb091
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.7-1
4cb091
- new upstream release 0.10.7
4cb091
- drop upstreamed patch from 0.10.5-2
4cb091
4cb091
* Mon May 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.5-3
4cb091
- don't sed the soname in the spec anymore; the patch takes care of it now
4cb091
- drop leftover global define for git revision
4cb091
4cb091
* Mon May 13 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.10.5-2
4cb091
- Add patch to properly report soname version information
4cb091
  This patch will be included upstream in 0.10.6 and can be dropped then.
4cb091
- Remove Bundles(ev) as this has not been true since 0.9.5
4cb091
4cb091
* Wed Apr 24 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.5-1
4cb091
- new upstream release 0.10.5
4cb091
4cb091
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.4-1
4cb091
- new upstream release 0.10.4
4cb091
- drop upstreamed patch
4cb091
4cb091
* Thu Apr 04 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.3-2
4cb091
- backport patch that fixes FTBFS in nodejs-0.10.3
4cb091
4cb091
* Sun Mar 31 2013 tchollingsworth@gmail.com - 1:0.10.3-1
4cb091
- rebase to 0.10.3
4cb091
- upstream now does proper releases
4cb091
4cb091
* Tue Mar 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.0-2.git5462dab
4cb091
- drop the patchlevel from the SONAME since libuv will retain binary
4cb091
  compatibility for the life of the 0.10.x series
4cb091
4cb091
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.10.0-1.git5462dab
4cb091
- Upgrade to 0.10.0 release to match stable Node.js release
4cb091
4cb091
* Thu Feb 28 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.9.4-4.gitdc559a5
4cb091
- Bump epoch for the version downgrade
4cb091
- The 0.9.7 version hit the Rawhide repo due to the mass rebuild, we need a
4cb091
  clean upgrade path.
4cb091
4cb091
* Thu Feb 21 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.4-3.gitdc559a5
4cb091
- Revert to version 0.9.4 (since 0.9.7 is breaking builds)
4cb091
4cb091
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-2.git4ba03dd
4cb091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4cb091
4cb091
* Tue Jan 22 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.7-1.git4ba03dd
4cb091
- Bump to version included with Node.js 0.9.7
4cb091
4cb091
* Wed Dec 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.4-0.1.gitdc559a5
4cb091
- bump to version included with node 0.9.4
4cb091
- drop upstreamed patch
4cb091
- respect optflags
4cb091
4cb091
* Thu Nov 15 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.3.git09b0222
4cb091
- Add patch to export uv_inet_*
4cb091
4cb091
* Wed Nov 14 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.2.git09b0222
4cb091
- Fixes from package review
4cb091
- Removed doubly-listed include directory
4cb091
- Update git tarball to the latest upstream code
4cb091
4cb091
* Thu Nov 08 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.1.gitd56434a
4cb091
- Initial package