From fdc371682732046f92f74880b3bae736c49643d87b31b8cd71dc42fe56a41cf2 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 30 Aug 2021 08:06:09 +0000 Subject: [PATCH] Accepting request 914661 from home:Andreas_Schwab:Factory - Add libgccjit%{libgccjit_sover}-devel package OBS-URL: https://build.opensuse.org/request/show/914661 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=110 --- gcc.changes | 5 +++++ gcc.spec | 59 ++++++++++++++++++----------------------------------- 2 files changed, 25 insertions(+), 39 deletions(-) diff --git a/gcc.changes b/gcc.changes index ce594f6..9ee4b5b 100644 --- a/gcc.changes +++ b/gcc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 27 17:41:23 UTC 2021 - Andreas Schwab + +- Add libgccjit%{libgccjit_sover}-devel package + ------------------------------------------------------------------- Fri Jul 9 07:41:14 UTC 2021 - Richard Biener diff --git a/gcc.spec b/gcc.spec index 80d1bec..4f5efa6 100644 --- a/gcc.spec +++ b/gcc.spec @@ -41,6 +41,7 @@ Name: gcc %else %define build_d 0 %endif +%define libgccjit_sover 0 URL: http://gcc.gnu.org/ %define gcc_version 11 %define gcc_suffix 11 @@ -72,8 +73,6 @@ Source: cpp %description The system GNU C Compiler. - - %package -n gcc-32bit Summary: The system GNU C Compiler License: GPL-3.0-or-later @@ -84,8 +83,6 @@ Requires: gcc%{gcc_version}-32bit %description -n gcc-32bit The system GNU C Compiler. - - %package -n gcc-64bit Summary: The system GNU C Compiler License: GPL-3.0-or-later @@ -96,8 +93,6 @@ Requires: gcc%{gcc_version}-64bit %description -n gcc-64bit The system GNU C Compiler. - - %package -n cpp Summary: The system GNU Preprocessor License: GPL-3.0-or-later @@ -107,7 +102,6 @@ Requires: cpp%{gcc_version} %description -n cpp The system GNU Preprocessor. - %package -n gcc-devel Summary: The system GNU C Compiler Plugin development files License: GPL-3.0-or-later @@ -118,7 +112,6 @@ Requires: gcc%{gcc_version}-devel %description -n gcc-devel The system GNU C Compiler Plugin development files. - %package -n gcc-locale Summary: The system GNU Compiler locale files License: GPL-3.0-or-later @@ -128,8 +121,6 @@ Requires: gcc%{gcc_version}-locale %description -n gcc-locale The system GNU Compiler locale files. - - %package -n gcc-info Summary: The system GNU Compiler documentation License: GFDL-1.2-only @@ -140,6 +131,7 @@ PreReq: gcc%{gcc_version}-info %description -n gcc-info The system GNU Compiler documentation. + # install / update the entries %post -n gcc-info %install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz @@ -167,7 +159,6 @@ Requires: gcc%{gcc_version}-c++ %description -n gcc-c++ The system GNU C++ Compiler. - %package -n gcc-c++-32bit Summary: The system GNU C++ Compiler License: GPL-3.0-or-later @@ -179,7 +170,6 @@ Requires: gcc-c++ = %{version} %description -n gcc-c++-32bit The system GNU C++ Compiler 32 bit support. - %package -n gcc-c++-64bit Summary: The system GNU C++ Compiler License: GPL-3.0-or-later @@ -191,21 +181,18 @@ Requires: gcc-c++ = %{version} %description -n gcc-c++-64bit The system GNU C++ Compiler 64 bit support. - - %package -n libstdc++-devel Summary: The system GNU C++ development files -License: GPL-3.0-with-GCC-exception +License: GPL-3.0-only WITH GCC-exception-3.1 Group: System/Libraries Requires: libstdc++6-devel-gcc%{gcc_version} %description -n libstdc++-devel The system GNU C++ development files. - %package -n libstdc++-devel-32bit Summary: The system GNU C++ 32bit development files -License: GPL-3.0-with-GCC-exception +License: GPL-3.0-only WITH GCC-exception-3.1 Group: System/Libraries Requires: libstdc++-devel Requires: libstdc++6-devel-gcc%{gcc_version}-32bit @@ -213,10 +200,9 @@ Requires: libstdc++6-devel-gcc%{gcc_version}-32bit %description -n libstdc++-devel-32bit The system GNU C++ 32bit development files. - %package -n libstdc++-devel-64bit Summary: The system GNU C++ 64bit development files -License: GPL-3.0-with-GCC-exception +License: GPL-3.0-only WITH GCC-exception-3.1 Group: System/Libraries Requires: libstdc++-devel Requires: libstdc++6-devel-gcc%{gcc_version}-64bit @@ -224,8 +210,6 @@ Requires: libstdc++6-devel-gcc%{gcc_version}-64bit %description -n libstdc++-devel-64bit The system GNU C++ 64bit development files. - - %package -n gcc-fortran Summary: The system GNU Fortran Compiler License: GPL-3.0-or-later @@ -236,7 +220,6 @@ Requires: gcc%{gcc_version}-fortran %description -n gcc-fortran The system GNU Fortran Compiler. - %package -n gcc-fortran-32bit Summary: The system GNU Fortran Compiler License: GPL-3.0-or-later @@ -247,7 +230,6 @@ Requires: gcc-fortran = %{version} %description -n gcc-fortran-32bit The system GNU Fortran Compiler 32 bit support. - %package -n gcc-fortran-64bit Summary: The system GNU Fortran Compiler License: GPL-3.0-or-later @@ -258,8 +240,6 @@ Requires: gcc-fortran = %{version} %description -n gcc-fortran-64bit The system GNU Fortran Compiler 64 bit support. - - %package -n gcc-objc Summary: The system GNU Objective C Compiler License: GPL-3.0-or-later @@ -273,8 +253,6 @@ Obsoletes: gcc-objc-64bit %description -n gcc-objc The system GNU Objective C Compiler. - - %package -n gcc-objc-32bit Summary: The system GNU Objective C Compiler License: GPL-3.0-or-later @@ -285,8 +263,6 @@ Requires: gcc-objc = %{version} %description -n gcc-objc-32bit The system GNU Objective C Compiler 32 bit support. - - %package -n gcc-objc-64bit Summary: The system GNU Objective C Compiler License: GPL-3.0-or-later @@ -297,8 +273,6 @@ Requires: gcc-objc = %{version} %description -n gcc-objc-64bit The system GNU Objective C Compiler 64 bit support. - - %package -n gcc-obj-c++ Summary: The system GNU Objective C++ Compiler License: GPL-3.0-or-later @@ -309,8 +283,6 @@ Requires: gcc-objc = %{version} %description -n gcc-obj-c++ The system GNU Objective C++ Compiler. - - %package -n gcc-PIE Summary: A default configuration to build all binaries in PIE mode License: GPL-3.0-or-later @@ -323,7 +295,6 @@ compilers default setting to build all ELF binaries in the Position Independend Executable (PIE) variant. This enables better address space randomization (ASLR). - %package -n gcc-ada Summary: The system GNU Ada Compiler License: GPL-3.0-or-later @@ -354,7 +325,6 @@ Requires: gcc-ada = %{version} %description -n gcc-ada-64bit The system GNU Ada Compiler 64 bit support. - %package -n gcc-go Summary: The system GNU Go Compiler License: GPL-3.0-or-later @@ -362,7 +332,7 @@ Group: Development/Languages/C and C++ Requires: gcc = %{version} Requires: gcc%{gcc_version}-go Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %description -n gcc-go The system GNU Go Compiler. @@ -387,7 +357,6 @@ Requires: gcc-go = %{version} %description -n gcc-go-64bit The system GNU Go Compiler 64bit support. - %package -n gcc-d Summary: The system GNU D Compiler License: GPL-3.0-or-later @@ -395,7 +364,7 @@ Group: Development/Languages/C and C++ Requires: gcc = %{version} Requires: gcc%{gcc_version}-d Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %description -n gcc-d The system GNU D Compiler. @@ -420,8 +389,16 @@ Requires: gcc-d = %{version} %description -n gcc-d-64bit The system GNU D Compiler 64bit support. +%package -n libgccjit%{libgccjit_sover}-devel +Summary: Support for embedding GCC inside programs and libraries +License: GPL-3.0-or-later +Group: Development/Languages/C and C++ +Requires: libgccjit%{libgccjit_sover}-devel-gcc%{gcc_version} -%prep +%description -n libgccjit%{libgccjit_sover}-devel +Package contains header files and documentation for GCC JIT front-end. + +%prep %install mkdir -p $RPM_BUILD_ROOT/lib @@ -683,4 +660,8 @@ fi %endif +%files -n libgccjit%{libgccjit_sover}-devel +%defattr(-,root,root) +# empty - only for the dependency + %changelog