|
|
|
@ -10,14 +10,13 @@
|
|
|
|
|
|
|
|
|
|
Name: libsodium
|
|
|
|
|
Version: 1.0.18
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: The Sodium crypto library
|
|
|
|
|
License: ISC
|
|
|
|
|
URL: http://libsodium.org/
|
|
|
|
|
Source0: http://download.libsodium.org/libsodium/releases/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
# manage update from 3rd party repository
|
|
|
|
|
Obsoletes: %{libname}%{soname} <= %{version}
|
|
|
|
@ -61,15 +60,6 @@ linking applications to use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# This package has a configure test which uses ASMs, but does not link the
|
|
|
|
|
# resultant .o files. As such the ASM test is always successful, even on
|
|
|
|
|
# architectures were the ASM is not valid when compiling with LTO.
|
|
|
|
|
#
|
|
|
|
|
# -ffat-lto-objects is sufficient to address this issue. It is the default
|
|
|
|
|
# for F33, but is expected to only be enabled for packages that need it in
|
|
|
|
|
# F34, so we use it here explicitly
|
|
|
|
|
%define _lto_cflags -flto=auto -ffat-lto-objects
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-silent-rules \
|
|
|
|
|
--disable-opt
|
|
|
|
@ -105,23 +95,8 @@ make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Aug 21 2020 Jeff Law <law@redhat.com> - 1.0.18-6
|
|
|
|
|
- Re-enable LTO
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 14 2020 Jeff Law <law@redhat.com> - 1.0.18-4
|
|
|
|
|
- Disable LTO
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
* Fri Jan 26 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.0.18-2
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|