|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: libbsd
|
|
|
|
|
Version: 0.10.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Library providing BSD-compatible functions for portability
|
|
|
|
|
URL: http://libbsd.freedesktop.org/
|
|
|
|
|
License: BSD and ISC and Copyright only and Public Domain
|
|
|
|
@ -42,6 +42,14 @@ configured using "pkg-config --libs libbsd-ctor".
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# This package uses top level ASM constructs which are incompatible with LTO.
|
|
|
|
|
# Top level ASMs are often used to implement symbol versioning. gcc-10
|
|
|
|
|
# introduces a new mechanism for symbol versioning which works with LTO.
|
|
|
|
|
# Converting packages to use that mechanism instead of toplevel ASMs is
|
|
|
|
|
# recommended.
|
|
|
|
|
# Disable LTO
|
|
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
|
|
|
|
|
|
%configure
|
|
|
|
|
%make_build V=1
|
|
|
|
|
|
|
|
|
@ -79,6 +87,9 @@ rm %{buildroot}%{_mandir}/man3/explicit_bzero.3bsd
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}-ctor.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 1 2020 Jeff Law <law@redhat.com> - 0.10.0-3
|
|
|
|
|
- Disable LTO
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|