Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alois
gdb
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package gdb
--- gdb.spec.orig +++ gdb.spec @@ -232,6 +232,8 @@ Patch91: gdb-archer.patch Patch92: gdb-vla-intel-fix-print-char-array.patch Patch93: gdb-rhbz1553104-s390x-arch12-test.patch Patch94: gdb-config.patch +# +Patch95: https://gitlab.com/gnutools/binutils-gdb/-/commit/6d1a09b77a9ab52d9fc627b8f5eb952892c81f90.patch #Fedora Packages end # Fedora Packages not copied: @@ -322,7 +324,7 @@ Patch3000: v1.5-libipt-static.patch BuildRequires: bison BuildRequires: flex -%if 0%{suse_version} > 1110 +%if 0%{?suse_version} > 1110 %define gcc gcc %else %define gcc gcc48 @@ -331,13 +333,13 @@ BuildRequires: %{gcc} BuildRequires: %{gcc}-c++ BuildRequires: gettext BuildRequires: glibc-devel -%if 0%{suse_version} > 1110 && 0%{suse_version} < 1330 +%if 0%{?suse_version} > 1110 && 0%{?suse_version} < 1330 # GDB supports guile 2.0, but not guile 2.2 (swo#21104). Disable guile # support for newer distro versions in anticipation of a move to guile 2.2. BuildRequires: guile-devel %endif BuildRequires: libexpat-devel -%if 0%{suse_version} >= 1200 +%if 0%{?suse_version} >= 1200 BuildRequires: makeinfo %else BuildRequires: texinfo @@ -352,7 +354,7 @@ BuildRequires: pkg-config BuildRequires: readline-devel BuildRequires: rpm-devel # SLE-10 doesn't have xz-devel. -%if 0%{suse_version} >= 1110 +%if 0%{?suse_version} >= 1110 BuildRequires: xz-devel %endif BuildRequires: zlib-devel @@ -371,7 +373,7 @@ BuildRequires: libdebuginfod-devel BuildRequires: libdebuginfod1 %endif %global have_libipt 0 -%if 0%{suse_version} > 1110 +%if 0%{?suse_version} > 1110 %ifarch %{ix86} x86_64 %global have_libipt 1 BuildRequires: cmake @@ -384,17 +386,17 @@ ExclusiveArch: noarch i386 x86_64 ppc p %endif # 0%{?el5:1} %ifarch s390x -%if %{suse_version} > 1500 +%if 0%{?suse_version} > 1500 BuildRequires: babeltrace-devel %endif %endif %ifarch ppc64 -%if %{suse_version} >= 1500 +%if 0%{?suse_version} >= 1500 BuildRequires: babeltrace-devel %endif %endif %ifarch %{ix86} x86_64 -%if %{suse_version} >= 1200 +%if 0%{?suse_version} >= 1200 BuildRequires: babeltrace-devel %endif %endif @@ -407,8 +409,8 @@ BuildRequires: babeltrace-devel # Copied from gcc9/gcc.spec.in # Ada currently fails to build on a few platforms, enable it only # on those that work -%if %{suse_version} >= 1310 -%if %{suse_version} >= 1330 +%if 0%{?suse_version} >= 1310 +%if 0%{?suse_version} >= 1330 %define ada_arch %ix86 x86_64 ppc ppc64 ppc64le s390 s390x ia64 aarch64 riscv64 %else %define ada_arch %ix86 x86_64 ppc ppc64 s390 ia64 @@ -438,7 +440,7 @@ BuildRequires: dejagnu BuildRequires: sharutils # gcc-objc++ is not covered by the GDB testsuite. BuildRequires: %{gcc}-fortran -%if 0%{?gcc_version} < 7 && 0%{suse_version} > 1110 +%if 0%{?gcc_version} < 7 && 0%{?suse_version} > 1110 BuildRequires: %{gcc}-java %endif BuildRequires: %{gcc}-objc @@ -447,21 +449,21 @@ BuildRequires: %{gcc}-ada %endif %if 0%{!?disable_32bit:1} # openSUSE for s390x doesn't build 32bit libs -%if 0%{suse_version} > 1110 +%if 0%{?suse_version} > 1110 %ifarch x86_64 ppc64 s390x -%if 0%{suse_version} >= 1330 +%if 0%{?suse_version} >= 1330 # Older distros miss this pseudo package, the Ada # testsuite won't work completely BuildRequires: %{gcc}-ada-32bit %endif BuildRequires: %{gcc}-c++-32bit -%if 0%{suse_version} >= 1210 && 0%{suse_version} != 1315 +%if 0%{?suse_version} >= 1210 && 0%{?suse_version} != 1315 BuildRequires: glibc-devel-static-32bit %endif %endif %endif %endif -%if 0%{suse_version} >= 1210 +%if 0%{?suse_version} >= 1210 BuildRequires: glibc-devel-static %endif %if 0%{?suse_version} > 1500 @@ -492,7 +494,7 @@ BuildRequires: binutils-gold %endif %else # SLE-10 doesn't have binutils-gold. -%if 0%{suse_version} >= 1110 +%if 0%{?suse_version} >= 1110 BuildRequires: binutils-gold %endif %endif @@ -507,7 +509,7 @@ BuildRequires: elfutils-debuginfod %endif # SLE-10 doesn't have xz. -%if 0%{suse_version} >= 1110 +%if 0%{?suse_version} >= 1110 # Missing on SLE-11 BuildRequires: xz %endif @@ -543,7 +545,7 @@ machine than the one which is running th Summary: Documentation for GDB (the GNU source-level debugger) License: GFDL-1.3-only Group: Documentation/Other -PreReq: %{install_info_prereq} +#PreReq: %{install_info_prereq} %if "%{scl}" == "devtoolset-1.1" Obsoletes: devtoolset-1.0-%{pkg_name}-doc @@ -668,6 +670,9 @@ find -name "*.info*"|xargs rm -f %patch94 -p1 #Fedora patching end +# +%patch95 -p1 + %patch501 -p1 %patch502 -p1 %patch503 -p1 @@ -757,7 +762,7 @@ do mkdir %{gdb_build}$fprofile cd %{gdb_build}$fprofile -%if 0%{suse_version} > 1110 +%if 0%{?suse_version} > 1110 CC=gcc CXX=g++ %else @@ -840,7 +845,7 @@ EXTRA_TARGETS= %ifnarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 riscv64 aarch64 --disable-werror \ %else -%if %{suse_version} <= 1110 +%if 0%{?suse_version} <= 1110 --disable-werror \ %else --enable-werror \ @@ -850,7 +855,7 @@ EXTRA_TARGETS= --disable-sim \ --disable-rpath \ --with-system-zlib \ -%if %{suse_version} >= 1500 +%if 0%{?suse_version} >= 1500 --with-system-readline \ %else --without-system-readline \ @@ -864,7 +869,7 @@ $(: ppc64 host build crashes on ppc vari %else --without-python \ %endif -%if %{suse_version} >= 1130 +%if 0%{?suse_version} >= 1130 --with-rpm=$LIBRPM \ %else --without-rpm \ @@ -1042,7 +1047,7 @@ echo ====================TESTSUITE DISAB %else echo ====================TESTING========================= cd gdb -%if 0%{suse_version} > 1110 +%if 0%{?suse_version} > 1110 CC=gcc CXX=g++ %else @@ -1293,7 +1298,7 @@ fi %files %defattr(-,root,root) %doc README NEWS -%if 0%{suse_version} >= 1320 +%if 0%{?suse_version} >= 1320 %license COPYING3 COPYING COPYING.LIB %else %doc COPYING3 COPYING COPYING.LIB
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor