Updates gcc-toolset version from 11 to 12

epel9
Germano Massullo 2 years ago
parent 9ab8964de1
commit 84a9ea9ba5

@ -3,7 +3,7 @@
Name: keepassxc Name: keepassxc
Version: 2.7.4 Version: 2.7.4
Release: 3%{?dist} Release: 4%{?dist}
Summary: Cross-platform password manager Summary: Cross-platform password manager
License: Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and LGPLv3+ and Public Domain License: Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and LGPLv3+ and Public Domain
URL: http://www.keepassxc.org/ URL: http://www.keepassxc.org/
@ -39,8 +39,8 @@ BuildRequires: botan2-devel
BuildRequires: cmake >= 3.1 BuildRequires: cmake >= 3.1
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%if 0%{?el8} %if 0%{?el8}
BuildRequires: gcc-toolset-11-gcc-c++ BuildRequires: gcc-toolset-12-gcc-c++
BuildRequires: gcc-toolset-11-annobin-plugin-gcc BuildRequires: gcc-toolset-12-annobin-plugin-gcc
%else %else
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif %endif
@ -125,7 +125,7 @@ sed -i '/type="contribute"/d' ./share/linux/org.keepassxc.KeePassXC.appdata.xml
%build %build
%if 0%{?el8} %if 0%{?el8}
. /opt/rh/gcc-toolset-11/enable . /opt/rh/gcc-toolset-12/enable
%endif %endif
# -DWITH_XC_DOCS=OFF is needed on EL due missing rubygem-asciidoctor # -DWITH_XC_DOCS=OFF is needed on EL due missing rubygem-asciidoctor
# For EL8 missing rubygem-asciidoctor read # For EL8 missing rubygem-asciidoctor read
@ -189,6 +189,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{nam
%{_mandir}/man1/%{name}.1* %{_mandir}/man1/%{name}.1*
%changelog %changelog
* Tue Nov 22 2022 Germano Massullo <germano.massullo@gmail.com> - 2.7.4-4
- Updates gcc-toolset version from 11 to 12
* Mon Nov 21 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.7.4-3 * Mon Nov 21 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.7.4-3
- Fix builds for EPEL and F35 - Fix builds for EPEL and F35

Loading…
Cancel
Save