mirror of
https://abf.rosa.ru/djam/gcc7.git
synced 2025-02-24 07:12:53 +00:00
ROSA-specific spec fixes
This commit is contained in:
parent
aac4881f15
commit
76bc134d3d
1 changed files with 6 additions and 6 deletions
12
gcc.spec
12
gcc.spec
|
@ -18,7 +18,7 @@
|
|||
%define remove_alternatives 0
|
||||
%define obsolete_devmajor 0
|
||||
%define provide_libmajor 0
|
||||
%if %mdkversion <= 201100
|
||||
%if %mdkversion <= 201200
|
||||
%if %{system_compiler}
|
||||
%define remove_alternatives 1
|
||||
%define obsolete_devmajor 1
|
||||
|
@ -140,7 +140,7 @@ Requires: libgomp >= %{version}-%{release}
|
|||
BuildRequires: binutils >= 2.20.51.0.2
|
||||
Requires: binutils >= 2.20.51.0.2
|
||||
BuildRequires: elfutils-devel >= 0.147
|
||||
%if %mdkversion <= 201100
|
||||
%if %mdkversion <= 201200
|
||||
Obsoletes: manbo-mandriva-files-gcc
|
||||
%endif
|
||||
|
||||
|
@ -174,7 +174,7 @@ BuildRequires: cloog-ppl-devel >= 0.16.1
|
|||
Requires(pre): update-alternatives
|
||||
%endif
|
||||
Obsoletes: gcc-doc
|
||||
%if %mdkversion <= 201100
|
||||
%if %mdkversion <= 201200
|
||||
%if %{system_compiler}
|
||||
# force same urpmi transaction
|
||||
Conflicts: libgomp1 <= 4.5.2
|
||||
|
@ -651,7 +651,7 @@ Requires: %{libgfortran_devel} = %{version}-%{release}
|
|||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
%endif
|
||||
%if %mdkversion <= 201100
|
||||
%if %mdkversion <= 201200
|
||||
Obsoletes: manbo-mandriva-files-gfortran
|
||||
%endif
|
||||
|
||||
|
@ -695,7 +695,7 @@ Provides: libgfortran = %{version}-%{release}
|
|||
Obsoletes: libgfortran%{gfortran_major} < %{version}-%{release}
|
||||
Provides: libgfortran%{gfortran_major} = %{version}-%{release}
|
||||
%endif
|
||||
%if %mdkversion <= 201100
|
||||
%if %mdkversion <= 201200
|
||||
Obsoletes: libgfortran4.5 < %{version}-%{release}
|
||||
%endif
|
||||
%if %{build_quadmath}
|
||||
|
@ -1712,7 +1712,7 @@ XCFLAGS="$OPT_FLAGS" \
|
|||
%endif
|
||||
--enable-threads=posix \
|
||||
--with-system-zlib \
|
||||
--with-bugurl=https://qa.mandriva.com/ \
|
||||
--with-bugurl=http://bugs.rosalinux.ru/ \
|
||||
%ifarch %{ix86} x86_64
|
||||
--with-tune=generic \
|
||||
%endif
|
||||
|
|
Loading…
Add table
Reference in a new issue