diff --git a/sigil.changes b/sigil.changes index 4f240dc..87b022e 100644 --- a/sigil.changes +++ b/sigil.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 26 11:54:38 UTC 2024 - Max Lin + +- Use the same condition of gcc version for CC and CXX flags as same + as the BuildRequires defined + ------------------------------------------------------------------- Sun Nov 17 14:24:42 UTC 2024 - ecsos diff --git a/sigil.spec b/sigil.spec index ef8af5d..984a925 100644 --- a/sigil.spec +++ b/sigil.spec @@ -145,7 +145,7 @@ find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python3|#!\/usr\/bin\/python find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python|#!\/usr\/bin\/python3|g' {} + %build -%if 0%{?suse_version} <= 1600 +%if 0%{?suse_version} < 1600 export CC=gcc-12 export CXX=g++-12 %endif