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
This commit is contained in:
Richard Biener 2021-08-30 08:06:09 +00:00 committed by Git OBS Bridge
parent 00bb6960cf
commit fdc3716827
2 changed files with 25 additions and 39 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 27 17:41:23 UTC 2021 - Andreas Schwab <schwab@suse.de>
- Add libgccjit%{libgccjit_sover}-devel package
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 9 07:41:14 UTC 2021 - Richard Biener <rguenther@suse.com> Fri Jul 9 07:41:14 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -41,6 +41,7 @@ Name: gcc
%else %else
%define build_d 0 %define build_d 0
%endif %endif
%define libgccjit_sover 0
URL: http://gcc.gnu.org/ URL: http://gcc.gnu.org/
%define gcc_version 11 %define gcc_version 11
%define gcc_suffix 11 %define gcc_suffix 11
@ -72,8 +73,6 @@ Source: cpp
%description %description
The system GNU C Compiler. The system GNU C Compiler.
%package -n gcc-32bit %package -n gcc-32bit
Summary: The system GNU C Compiler Summary: The system GNU C Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -84,8 +83,6 @@ Requires: gcc%{gcc_version}-32bit
%description -n gcc-32bit %description -n gcc-32bit
The system GNU C Compiler. The system GNU C Compiler.
%package -n gcc-64bit %package -n gcc-64bit
Summary: The system GNU C Compiler Summary: The system GNU C Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -96,8 +93,6 @@ Requires: gcc%{gcc_version}-64bit
%description -n gcc-64bit %description -n gcc-64bit
The system GNU C Compiler. The system GNU C Compiler.
%package -n cpp %package -n cpp
Summary: The system GNU Preprocessor Summary: The system GNU Preprocessor
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -107,7 +102,6 @@ Requires: cpp%{gcc_version}
%description -n cpp %description -n cpp
The system GNU Preprocessor. The system GNU Preprocessor.
%package -n gcc-devel %package -n gcc-devel
Summary: The system GNU C Compiler Plugin development files Summary: The system GNU C Compiler Plugin development files
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -118,7 +112,6 @@ Requires: gcc%{gcc_version}-devel
%description -n gcc-devel %description -n gcc-devel
The system GNU C Compiler Plugin development files. The system GNU C Compiler Plugin development files.
%package -n gcc-locale %package -n gcc-locale
Summary: The system GNU Compiler locale files Summary: The system GNU Compiler locale files
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -128,8 +121,6 @@ Requires: gcc%{gcc_version}-locale
%description -n gcc-locale %description -n gcc-locale
The system GNU Compiler locale files. The system GNU Compiler locale files.
%package -n gcc-info %package -n gcc-info
Summary: The system GNU Compiler documentation Summary: The system GNU Compiler documentation
License: GFDL-1.2-only License: GFDL-1.2-only
@ -140,6 +131,7 @@ PreReq: gcc%{gcc_version}-info
%description -n gcc-info %description -n gcc-info
The system GNU Compiler documentation. The system GNU Compiler documentation.
# install / update the entries # install / update the entries
%post -n gcc-info %post -n gcc-info
%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz %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++ %description -n gcc-c++
The system GNU C++ Compiler. The system GNU C++ Compiler.
%package -n gcc-c++-32bit %package -n gcc-c++-32bit
Summary: The system GNU C++ Compiler Summary: The system GNU C++ Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -179,7 +170,6 @@ Requires: gcc-c++ = %{version}
%description -n gcc-c++-32bit %description -n gcc-c++-32bit
The system GNU C++ Compiler 32 bit support. The system GNU C++ Compiler 32 bit support.
%package -n gcc-c++-64bit %package -n gcc-c++-64bit
Summary: The system GNU C++ Compiler Summary: The system GNU C++ Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -191,21 +181,18 @@ Requires: gcc-c++ = %{version}
%description -n gcc-c++-64bit %description -n gcc-c++-64bit
The system GNU C++ Compiler 64 bit support. The system GNU C++ Compiler 64 bit support.
%package -n libstdc++-devel %package -n libstdc++-devel
Summary: The system GNU C++ development files 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 Group: System/Libraries
Requires: libstdc++6-devel-gcc%{gcc_version} Requires: libstdc++6-devel-gcc%{gcc_version}
%description -n libstdc++-devel %description -n libstdc++-devel
The system GNU C++ development files. The system GNU C++ development files.
%package -n libstdc++-devel-32bit %package -n libstdc++-devel-32bit
Summary: The system GNU C++ 32bit development files 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 Group: System/Libraries
Requires: libstdc++-devel Requires: libstdc++-devel
Requires: libstdc++6-devel-gcc%{gcc_version}-32bit 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 %description -n libstdc++-devel-32bit
The system GNU C++ 32bit development files. The system GNU C++ 32bit development files.
%package -n libstdc++-devel-64bit %package -n libstdc++-devel-64bit
Summary: The system GNU C++ 64bit development files 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 Group: System/Libraries
Requires: libstdc++-devel Requires: libstdc++-devel
Requires: libstdc++6-devel-gcc%{gcc_version}-64bit 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 %description -n libstdc++-devel-64bit
The system GNU C++ 64bit development files. The system GNU C++ 64bit development files.
%package -n gcc-fortran %package -n gcc-fortran
Summary: The system GNU Fortran Compiler Summary: The system GNU Fortran Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -236,7 +220,6 @@ Requires: gcc%{gcc_version}-fortran
%description -n gcc-fortran %description -n gcc-fortran
The system GNU Fortran Compiler. The system GNU Fortran Compiler.
%package -n gcc-fortran-32bit %package -n gcc-fortran-32bit
Summary: The system GNU Fortran Compiler Summary: The system GNU Fortran Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -247,7 +230,6 @@ Requires: gcc-fortran = %{version}
%description -n gcc-fortran-32bit %description -n gcc-fortran-32bit
The system GNU Fortran Compiler 32 bit support. The system GNU Fortran Compiler 32 bit support.
%package -n gcc-fortran-64bit %package -n gcc-fortran-64bit
Summary: The system GNU Fortran Compiler Summary: The system GNU Fortran Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -258,8 +240,6 @@ Requires: gcc-fortran = %{version}
%description -n gcc-fortran-64bit %description -n gcc-fortran-64bit
The system GNU Fortran Compiler 64 bit support. The system GNU Fortran Compiler 64 bit support.
%package -n gcc-objc %package -n gcc-objc
Summary: The system GNU Objective C Compiler Summary: The system GNU Objective C Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -273,8 +253,6 @@ Obsoletes: gcc-objc-64bit
%description -n gcc-objc %description -n gcc-objc
The system GNU Objective C Compiler. The system GNU Objective C Compiler.
%package -n gcc-objc-32bit %package -n gcc-objc-32bit
Summary: The system GNU Objective C Compiler Summary: The system GNU Objective C Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -285,8 +263,6 @@ Requires: gcc-objc = %{version}
%description -n gcc-objc-32bit %description -n gcc-objc-32bit
The system GNU Objective C Compiler 32 bit support. The system GNU Objective C Compiler 32 bit support.
%package -n gcc-objc-64bit %package -n gcc-objc-64bit
Summary: The system GNU Objective C Compiler Summary: The system GNU Objective C Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -297,8 +273,6 @@ Requires: gcc-objc = %{version}
%description -n gcc-objc-64bit %description -n gcc-objc-64bit
The system GNU Objective C Compiler 64 bit support. The system GNU Objective C Compiler 64 bit support.
%package -n gcc-obj-c++ %package -n gcc-obj-c++
Summary: The system GNU Objective C++ Compiler Summary: The system GNU Objective C++ Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -309,8 +283,6 @@ Requires: gcc-objc = %{version}
%description -n gcc-obj-c++ %description -n gcc-obj-c++
The system GNU Objective C++ Compiler. The system GNU Objective C++ Compiler.
%package -n gcc-PIE %package -n gcc-PIE
Summary: A default configuration to build all binaries in PIE mode Summary: A default configuration to build all binaries in PIE mode
License: GPL-3.0-or-later 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 Independend Executable (PIE) variant. This enables better address
space randomization (ASLR). space randomization (ASLR).
%package -n gcc-ada %package -n gcc-ada
Summary: The system GNU Ada Compiler Summary: The system GNU Ada Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -354,7 +325,6 @@ Requires: gcc-ada = %{version}
%description -n gcc-ada-64bit %description -n gcc-ada-64bit
The system GNU Ada Compiler 64 bit support. The system GNU Ada Compiler 64 bit support.
%package -n gcc-go %package -n gcc-go
Summary: The system GNU Go Compiler Summary: The system GNU Go Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -362,7 +332,7 @@ Group: Development/Languages/C and C++
Requires: gcc = %{version} Requires: gcc = %{version}
Requires: gcc%{gcc_version}-go Requires: gcc%{gcc_version}-go
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
%description -n gcc-go %description -n gcc-go
The system GNU Go Compiler. The system GNU Go Compiler.
@ -387,7 +357,6 @@ Requires: gcc-go = %{version}
%description -n gcc-go-64bit %description -n gcc-go-64bit
The system GNU Go Compiler 64bit support. The system GNU Go Compiler 64bit support.
%package -n gcc-d %package -n gcc-d
Summary: The system GNU D Compiler Summary: The system GNU D Compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -395,7 +364,7 @@ Group: Development/Languages/C and C++
Requires: gcc = %{version} Requires: gcc = %{version}
Requires: gcc%{gcc_version}-d Requires: gcc%{gcc_version}-d
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
%description -n gcc-d %description -n gcc-d
The system GNU D Compiler. The system GNU D Compiler.
@ -420,8 +389,16 @@ Requires: gcc-d = %{version}
%description -n gcc-d-64bit %description -n gcc-d-64bit
The system GNU D Compiler 64bit support. 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 %install
mkdir -p $RPM_BUILD_ROOT/lib mkdir -p $RPM_BUILD_ROOT/lib
@ -683,4 +660,8 @@ fi
%endif %endif
%files -n libgccjit%{libgccjit_sover}-devel
%defattr(-,root,root)
# empty - only for the dependency
%changelog %changelog