Blame SPECS/libuv.spec

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