diff --git a/macros.fpc-srpm b/macros.fpc-srpm new file mode 100644 index 0000000000000000000000000000000000000000..b87092b589977b1c6d120b98d68cf63c0c9dcc0b --- /dev/null +++ b/macros.fpc-srpm @@ -0,0 +1 @@ +%fpc_arches x86_64 aarch64 diff --git a/macros.ghc-srpm b/macros.ghc-srpm new file mode 100644 index 0000000000000000000000000000000000000000..319e6229c39bfe43512f1eba55be7a0410144f71 --- /dev/null +++ b/macros.ghc-srpm @@ -0,0 +1,9 @@ +# ghc_arches is not used in current packages but still here for back compat +# former archs: alpha ppc sparcv9 armv5tel +%ghc_arches x86_64 aarch64 + +# deprecated - kept for ghc.spec back compatibility +%ghc_devel_prof prof + +# enable profiling libraries in prof subpkgs +%with_ghc_prof 1 diff --git a/macros.gnat-srpm b/macros.gnat-srpm new file mode 100644 index 0000000000000000000000000000000000000000..bba90c103058ae25f92de97a7b74bfa4f7760012 --- /dev/null +++ b/macros.gnat-srpm @@ -0,0 +1,2 @@ +%GPRbuild_arches aarch64 x86_64 +%GNAT_arches %{GPRbuild_arches} diff --git a/system-rpm-config.spec b/system-rpm-config.spec index ff8fa1619bf92228ee86304c24cce6e68b028da9..1637eb2e3e30e0124e32f8075d8673540843a304 100644 --- a/system-rpm-config.spec +++ b/system-rpm-config.spec @@ -1,4 +1,4 @@ -%define anolis_release 30 +%define anolis_release 31 Summary: Anolis OS specific rpm configuration files Name: system-rpm-config @@ -31,6 +31,9 @@ Source60: anolis-annobin-cc1 Source100: macros.anolis-misc-srpm Source101: macros.nodejs-srpm Source102: macros.java-srpm +Source103: macros.fpc-srpm +Source104: macros.ghc-srpm +Source105: macros.gnat-srpm # Other misc macros Source150: macros.build-constraints @@ -208,6 +211,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/anolis/srpm forge.lua %license MulanPSL %changelog +* Mon Mar 27 2023 happy_orange - 1:23-31 +- add some src macros + * Tue Mar 21 2023 Chunmei Xu - 1:23-30 - add requires of ocaml-srpm-macros