@ -4,7 +4,7 @@ Version: 5.2.122
%global version_main 5.2
%global version_main 5.2
%global version_dash_main 5-2
%global version_dash_main 5-2
%global version_dash %{version_dash_main}-122
%global version_dash %{version_dash_main}-122
Release: 21 %{?dist}
Release: 28 %{?dist}
Summary: An implementation of the PGM reliable multicast protocol
Summary: An implementation of the PGM reliable multicast protocol
# The license is LGPLv2.1
# The license is LGPLv2.1
@ -21,6 +21,7 @@ Patch3: openpgm-03-pkgconfig.patch
Patch4: openpgm-04-py-version-gen.patch
Patch4: openpgm-04-py-version-gen.patch
Patch5: openpgm-05-fix-setgid.patch
Patch5: openpgm-05-fix-setgid.patch
BuildRequires: make
BuildRequires: libtool automake autoconf
BuildRequires: libtool automake autoconf
BuildRequires: gcc
BuildRequires: gcc
BuildRequires: python3
BuildRequires: python3
@ -49,6 +50,7 @@ This package contains OpenPGM related development libraries and header files.
%patch5 -p3
%patch5 -p3
dos2unix examples/getopt.c examples/getopt.h
dos2unix examples/getopt.c examples/getopt.h
%build
libtoolize --force --copy
libtoolize --force --copy
aclocal
aclocal
autoheader
autoheader
@ -56,7 +58,15 @@ automake --copy --add-missing
autoconf
autoconf
%configure
%configure
%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
%make_build
%make_build
%install
%install
@ -81,6 +91,27 @@ mv -f %{buildroot}%{_includedir}/%{name_alias}-%{version_main}/%{name_alias} %{b
%changelog
%changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Aug 21 2020 Jeff Law <law@redhat.com> - 5.2.122-25
- Re-enable LTO
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 14 2020 Jeff Law <law@redhat.com> - 5.2.122-23
- Disable LTO
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Nov 10 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-21
* Sun Nov 10 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-21
- The header files are now installed directly in /usr/include
- The header files are now installed directly in /usr/include