Blame SPECS/compat-sap-c++-7.spec

6dd469
# SAP HACK: Start custom scl information for SAP build.
6dd469
%global scl 1
6dd469
%global scl_prefix compat-sap-
6dd469
%global _root_prefix /opt/rh/SAP
6dd469
%global _root_infodir %{_root_prefix}/%{_infodir}
6dd469
%global _root_mandir %{_root_prefix}/%{_mandir}
6dd469
# END SAP HACK.
6dd469
%{?scl:%global __strip strip}
6dd469
%{?scl:%global __objdump objdump}
6dd469
%global DATE 20170829
6dd469
%global SVNREV 251415
6dd469
%global gcc_version 7.2.1
6dd469
%global gcc_major 7
6dd469
# Note, gcc_release must be integer, if you want to add suffixes to
6dd469
# %{release}, append them after %{gcc_release} on Release: line.
6dd469
%global gcc_release 2
6dd469
%global mpc_version 0.8.1
6dd469
%global _unpackaged_files_terminate_build 0
6dd469
%global multilib_64_archs sparc64 ppc64 s390x x86_64
6dd469
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64
6dd469
%global attr_ifunc 1
6dd469
%else
6dd469
%global attr_ifunc 0
6dd469
%endif
6dd469
%ifarch x86_64
6dd469
%global multilib_32_arch i686
6dd469
%endif
6dd469
Summary: C++ compatibility runtime library for SAP applications
6dd469
Name: %{?scl_prefix}c++-7
6dd469
ExclusiveArch: x86_64 ppc64le
6dd469
Version: %{gcc_version}
6dd469
Release: %{gcc_release}%{?dist}
6dd469
# libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
6dd469
# GCC Runtime Exception.
6dd469
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
6dd469
Group: Development/Languages
6dd469
# The source for this package was pulled from upstream's vcs.  Use the
6dd469
# following commands to generate the tarball:
6dd469
# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-7-branch@%{SVNREV} gcc-%{version}-%{DATE}
6dd469
# tar cf - gcc-%{version}-%{DATE} | bzip2 -9 > gcc-%{version}-%{DATE}.tar.bz2
6dd469
Source0: gcc-%{version}-%{DATE}.tar.bz2
6dd469
Source1: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
6dd469
URL: http://gcc.gnu.org
6dd469
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6dd469
# Need binutils with -pie support >= 2.14.90.0.4-4
6dd469
# Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4
6dd469
# Need binutils which handle -msecure-plt on ppc >= 2.16.91.0.2-2
6dd469
# Need binutils which support .weakref >= 2.16.91.0.3-1
6dd469
# Need binutils which support --hash-style=gnu >= 2.17.50.0.2-7
6dd469
# Need binutils which support mffgpr and mftgpr >= 2.17.50.0.2-8
6dd469
# Need binutils which support --build-id >= 2.17.50.0.17-3
6dd469
# Need binutils which support %gnu_unique_object >= 2.19.51.0.14
6dd469
# Need binutils which support .cfi_sections >= 2.19.51.0.14-33
6dd469
BuildRequires: binutils >= 2.19.51.0.14-33
6dd469
# While gcc doesn't include statically linked binaries, during testing
6dd469
# -static is used several times.
6dd469
BuildRequires: glibc-static
6dd469
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils
6dd469
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils, gcc-gfortran
6dd469
BuildRequires: /usr/bin/pod2man
6dd469
%if 0%{?rhel} >= 7
6dd469
BuildRequires: texinfo-tex
6dd469
%endif
6dd469
#BuildRequires: systemtap-sdt-devel >= 1.3
6dd469
# For VTA guality testing
6dd469
BuildRequires: gdb
6dd469
# Make sure pthread.h doesn't contain __thread tokens
6dd469
# Make sure glibc supports stack protector
6dd469
# Make sure glibc supports DT_GNU_HASH
6dd469
BuildRequires: glibc-devel >= 2.4.90-13
6dd469
BuildRequires: elfutils-devel >= 0.147
6dd469
BuildRequires: elfutils-libelf-devel >= 0.147
6dd469
%ifarch ppc ppc64 ppc64le ppc64p7 s390 s390x sparc sparcv9 alpha
6dd469
# Make sure glibc supports TFmode long double
6dd469
BuildRequires: glibc >= 2.3.90-35
6dd469
%endif
6dd469
%ifarch %{multilib_64_archs} sparcv9 ppc
6dd469
# Ensure glibc{,-devel} is installed for both multilib arches
6dd469
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
6dd469
%endif
6dd469
%ifarch ia64
6dd469
BuildRequires: libunwind >= 0.98
6dd469
%endif
6dd469
# Need .eh_frame ld optimizations
6dd469
# Need proper visibility support
6dd469
# Need -pie support
6dd469
# Need --as-needed/--no-as-needed support
6dd469
# On ppc64, need omit dot symbols support and --non-overlapping-opd
6dd469
# Need binutils that owns /usr/bin/c++filt
6dd469
# Need binutils that support .weakref
6dd469
# Need binutils that supports --hash-style=gnu
6dd469
# Need binutils that support mffgpr/mftgpr
6dd469
# Need binutils which support --build-id >= 2.17.50.0.17-3
6dd469
# Need binutils which support %gnu_unique_object >= 2.19.51.0.14
6dd469
# Need binutils which support .cfi_sections >= 2.19.51.0.14-33
6dd469
# Don't require this for compat-sap-c++ (#1491573).
6dd469
#Requires: binutils >= 2.19.51.0.14-33
6dd469
# Make sure gdb will understand DW_FORM_strp
6dd469
Conflicts: gdb < 5.1-2
6dd469
# Don't require this for compat-sap-c++ (#1491573).
6dd469
#Requires: glibc-devel >= 2.2.90-12
6dd469
%ifarch ppc ppc64 ppc64le ppc64p7 s390 s390x sparc sparcv9 alpha
6dd469
# Make sure glibc supports TFmode long double
6dd469
Requires: glibc >= 2.3.90-35
6dd469
%endif
6dd469
Requires: libgcc >= 4.1.2-43
6dd469
# Keep this for now.
6dd469
Requires: libgomp >= 4.4.4-13
6dd469
BuildRequires: gmp-devel >= 4.1.2-8
6dd469
BuildRequires: mpfr-devel >= 2.2.1
6dd469
%if 0%{?rhel} >= 7
6dd469
BuildRequires: libmpc-devel >= 0.8.1
6dd469
%endif
6dd469
AutoReq: true
6dd469
AutoProv: false
6dd469
# Don't provide this for compat-sap-c++ (#1491573).
6dd469
#%ifarch sparc64 ppc64 ppc64le s390x x86_64 ia64
6dd469
#Provides: liblto_plugin.so.0()(64bit)
6dd469
#%else
6dd469
#Provides: liblto_plugin.so.0
6dd469
#%endif
6dd469
%global oformat %{nil}
6dd469
%global oformat2 %{nil}
6dd469
%ifarch %{ix86}
6dd469
%global oformat OUTPUT_FORMAT(elf32-i386)
6dd469
%endif
6dd469
%ifarch x86_64
6dd469
%global oformat OUTPUT_FORMAT(elf64-x86-64)
6dd469
%global oformat2 OUTPUT_FORMAT(elf32-i386)
6dd469
%endif
6dd469
%ifarch ppc
6dd469
%global oformat OUTPUT_FORMAT(elf32-powerpc)
6dd469
%global oformat2 OUTPUT_FORMAT(elf64-powerpc)
6dd469
%endif
6dd469
%ifarch ppc64
6dd469
%global oformat OUTPUT_FORMAT(elf64-powerpc)
6dd469
%global oformat2 OUTPUT_FORMAT(elf32-powerpc)
6dd469
%endif
6dd469
%ifarch s390
6dd469
%global oformat OUTPUT_FORMAT(elf32-s390)
6dd469
%endif
6dd469
%ifarch s390x
6dd469
%global oformat OUTPUT_FORMAT(elf64-s390)
6dd469
%global oformat2 OUTPUT_FORMAT(elf32-s390)
6dd469
%endif
6dd469
%ifarch ia64
6dd469
%global oformat OUTPUT_FORMAT(elf64-ia64-little)
6dd469
%endif
6dd469
%ifarch ppc64le
6dd469
%global oformat OUTPUT_FORMAT(elf64-powerpcle)
6dd469
%endif
6dd469
%ifarch aarch64
6dd469
%global oformat OUTPUT_FORMAT(elf64-littleaarch64)
6dd469
%endif
6dd469
6dd469
Patch0: gcc7-hack.patch
6dd469
Patch1: gcc7-ppc32-retaddr.patch
6dd469
Patch2: gcc7-i386-libgomp.patch
6dd469
Patch3: gcc7-sparc-config-detection.patch
6dd469
Patch4: gcc7-libgomp-omp_h-multilib.patch
6dd469
Patch5: gcc7-libtool-no-rpath.patch
6dd469
Patch6: gcc7-isl-dl.patch
6dd469
Patch7: gcc7-libstdc++-docs.patch
6dd469
Patch8: gcc7-no-add-needed.patch
6dd469
Patch9: gcc7-aarch64-async-unw-tables.patch
6dd469
Patch10: gcc7-foffload-default.patch
6dd469
Patch11: gcc7-Wno-format-security.patch
6dd469
6dd469
Patch1000: gcc7-libstdc++-compat.patch
6dd469
Patch1001: gcc7-alt-compat-test.patch
6dd469
Patch1002: gcc7-libstdc++44-xfail.patch
6dd469
Patch1003: gcc7-rh1118870.patch
6dd469
Patch1004: gcc7-isl-dl2.patch
6dd469
6dd469
%if 0%{?rhel} >= 7
6dd469
%global nonsharedver 48
6dd469
%else
6dd469
%global nonsharedver 44
6dd469
%endif
6dd469
6dd469
%if 0%{?scl:1}
6dd469
%global _gnu %{nil}
6dd469
%else
6dd469
%global _gnu 7E
6dd469
%endif
6dd469
%ifarch sparcv9
6dd469
%global gcc_target_platform sparc64-%{_vendor}-%{_target_os}%{?_gnu}
6dd469
%endif
6dd469
%ifarch ppc
6dd469
%global gcc_target_platform ppc64-%{_vendor}-%{_target_os}%{?_gnu}
6dd469
%endif
6dd469
%ifnarch sparcv9 ppc
6dd469
%global gcc_target_platform %{_target_platform}
6dd469
%endif
6dd469
6dd469
%description
6dd469
This package provides runtime compatibility libraries for use by SAP
6dd469
application binaries only.
6dd469
6dd469
%prep
6dd469
%setup -q -n gcc-%{version}-%{DATE} -a 1
6dd469
%patch0 -p0 -b .hack~
6dd469
%patch1 -p0 -b .ppc32-retaddr~
6dd469
%patch2 -p0 -b .i386-libgomp~
6dd469
%patch3 -p0 -b .sparc-config-detection~
6dd469
%patch4 -p0 -b .libgomp-omp_h-multilib~
6dd469
%patch5 -p0 -b .libtool-no-rpath~
6dd469
%patch8 -p0 -b .no-add-needed~
6dd469
%patch9 -p0 -b .aarch64-async-unw-tables~
6dd469
%patch10 -p0 -b .foffload-default~
6dd469
%patch11 -p0 -b .Wno-format-security~
6dd469
6dd469
%patch1000 -p0 -b .libstdc++-compat~
6dd469
%ifarch %{ix86} x86_64
6dd469
%if 0%{?rhel} < 7
6dd469
# On i?86/x86_64 there are some incompatibilities in _Decimal* as well as
6dd469
# aggregates containing larger vector passing.
6dd469
%patch1001 -p0 -b .alt-compat-test~
6dd469
%endif
6dd469
%endif
6dd469
%if 0%{?rhel} == 6
6dd469
# Fix this up
6dd469
#%patch1002 -p0 -b .libstdc++44-xfail~
6dd469
%endif
6dd469
%patch1003 -p0 -b .rh1118870~
6dd469
6dd469
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
6dd469
6dd469
%if 0%{?rhel} == 6
6dd469
# Default to -gdwarf-3 rather than -gdwarf-4
6dd469
sed -i '/UInteger Var(dwarf_version)/s/Init(4)/Init(3)/' gcc/common.opt
6dd469
sed -i 's/\(may be either 2, 3 or 4; the default version is \)4\./\13./' gcc/doc/invoke.texi
6dd469
%endif
6dd469
6dd469
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
6dd469
cp -a libstdc++-v3/config/cpu/i{4,3}86/opt
6dd469
6dd469
./contrib/gcc_update --touch
6dd469
6dd469
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
6dd469
6dd469
sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt
6dd469
6dd469
%ifarch ppc
6dd469
if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then
6dd469
  mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64
6dd469
  mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{,64/}baseline_symbols.txt
6dd469
  mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{32/,}baseline_symbols.txt
6dd469
  rm -rf libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32
6dd469
fi
6dd469
%endif
6dd469
%ifarch sparc
6dd469
if [ -d libstdc++-v3/config/abi/post/sparc64-linux-gnu ]; then
6dd469
  mkdir -p libstdc++-v3/config/abi/post/sparc64-linux-gnu/64
6dd469
  mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{,64/}baseline_symbols.txt
6dd469
  mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{32/,}baseline_symbols.txt
6dd469
  rm -rf libstdc++-v3/config/abi/post/sparc64-linux-gnu/32
6dd469
fi
6dd469
%endif
6dd469
6dd469
%build
6dd469
6dd469
# Undo the broken autoconf change in recent Fedora versions
6dd469
export CONFIG_SITE=NONE
6dd469
6dd469
rm -fr obj-%{gcc_target_platform}
6dd469
mkdir obj-%{gcc_target_platform}
6dd469
cd obj-%{gcc_target_platform}
6dd469
6dd469
%if 0%{?rhel} < 7
6dd469
mkdir mpc mpc-install
6dd469
cd mpc
6dd469
../../mpc-%{mpc_version}/configure --disable-shared \
6dd469
  CFLAGS="${CFLAGS:-%optflags} -fPIC" CXXFLAGS="${CXXFLAGS:-%optflags} -fPIC" \
6dd469
  --prefix=`cd ..; pwd`/mpc-install
6dd469
make %{?_smp_mflags}
6dd469
make install
6dd469
cd ..
6dd469
%endif
6dd469
6dd469
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
6dd469
6dd469
CC=gcc
6dd469
CXX=g++
6dd469
OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
6dd469
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
6dd469
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
6dd469
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
6dd469
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security/-Wformat-security/g'`
6dd469
%ifarch sparc
6dd469
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
6dd469
%endif
6dd469
%ifarch %{ix86}
6dd469
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'`
6dd469
%endif
6dd469
OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'`
6dd469
CONFIGURE_OPTS="\
6dd469
	--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
6dd469
	--with-bugurl=http://bugzilla.redhat.com/bugzilla \
6dd469
	--enable-shared --enable-threads=posix --enable-checking=release \
6dd469
%ifarch ppc64le
6dd469
	--enable-targets=powerpcle-linux --disable-multilib \
6dd469
%else
6dd469
	--enable-multilib \
6dd469
%endif
6dd469
	--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
6dd469
	--enable-gnu-unique-object \
6dd469
	--enable-linker-build-id --with-gcc-major-version-only \
6dd469
	--enable-plugin --with-linker-hash-style=gnu \
6dd469
	--enable-initfini-array \
6dd469
	--with-default-libstdcxx-abi=gcc4-compatible \
6dd469
	--disable-libquadmath \
6dd469
	--disable-libsanitizer \
6dd469
	--disable-libvtv \
6dd469
	--disable-libgomp \
6dd469
	--disable-libitm \
6dd469
	--disable-libssp \
6dd469
	--disable-libatomic \
6dd469
	--disable-libcilkrts \
6dd469
	--without-isl \
6dd469
	--disable-libmpx \
6dd469
%if 0%{?rhel} < 7
6dd469
	--with-mpc=`pwd`/mpc-install \
6dd469
%endif
6dd469
%if 0%{?rhel} >= 7
6dd469
%if %{attr_ifunc}
6dd469
        --enable-gnu-indirect-function \
6dd469
%endif
6dd469
%endif
6dd469
%ifarch ppc ppc64 ppc64le ppc64p7
6dd469
	--enable-secureplt \
6dd469
%endif
6dd469
%ifarch ppc ppc64 ppc64p7
6dd469
%if 0%{?rhel} >= 7
6dd469
	--with-cpu-32=power7 --with-tune-32=power7 --with-cpu-64=power7 --with-tune-64=power7 \
6dd469
%else
6dd469
	--with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 \
6dd469
%endif
6dd469
%endif
6dd469
%ifarch ppc64le
6dd469
%if 0%{?rhel} >= 7
6dd469
	--with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \
6dd469
%endif
6dd469
%endif
6dd469
%ifarch ppc
6dd469
	--build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32
6dd469
%endif
6dd469
%ifarch %{ix86} x86_64
6dd469
	--with-tune=generic \
6dd469
%endif
6dd469
%ifarch %{ix86}
6dd469
	--with-arch=i686 \
6dd469
%endif
6dd469
%ifarch x86_64
6dd469
	--with-arch_32=i686 \
6dd469
%endif
6dd469
	--build=%{gcc_target_platform} \
6dd469
	"
6dd469
6dd469
CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
6dd469
	CXXFLAGS="`echo " $OPT_FLAGS " | sed 's/ -Wall / /g;s/ -fexceptions / /g'`" \
6dd469
	XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \
6dd469
	GCJFLAGS="$OPT_FLAGS" \
6dd469
	../configure --enable-bootstrap \
6dd469
	--enable-languages=c,c++,lto \
6dd469
	$CONFIGURE_OPTS
6dd469
6dd469
6dd469
GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS"
6dd469
6dd469
%install
6dd469
rm -fr %{buildroot}
6dd469
6dd469
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
6dd469
mkdir -p %{buildroot}%{_root_prefix}/%{_lib}
6dd469
cd obj-%{gcc_target_platform}
6dd469
./gcc/xgcc -v 2> %{buildroot}%{_root_prefix}/%{_lib}/README
6dd469
6dd469
cp %{gcc_target_platform}/libstdc++-v3/src/.libs/libstdc++.so.6.0.* %{buildroot}%{_root_prefix}/%{_lib}/compat-sap-c++-%{gcc_version}.so
6dd469
cd %{buildroot}%{_root_prefix}/%{_lib}/
6dd469
ln -sf compat-sap-c++-%{gcc_version}.so %{buildroot}%{_root_prefix}/%{_lib}/compat-sap-c++-7.so
6dd469
6dd469
%check
6dd469
cd obj-%{gcc_target_platform}
6dd469
6dd469
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
6dd469
6dd469
# run the tests.
6dd469
make %{?_smp_mflags} -k check RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || :
6dd469
( LC_ALL=C ../contrib/test_summary -t || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}' > testresults
6dd469
rm -rf gcc/testsuite.prev
6dd469
mv gcc/testsuite{,.prev}
6dd469
rm -f gcc/site.exp
6dd469
make %{?_smp_mflags} -C gcc -k check-gcc check-g++ ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}' compat.exp struct-layout-1.exp" || :
6dd469
mv gcc/testsuite/gcc/gcc.sum{,.sent}
6dd469
mv gcc/testsuite/g++/g++.sum{,.sent}
6dd469
( LC_ALL=C ../contrib/test_summary -o -t || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}' > testresults2
6dd469
rm -rf gcc/testsuite.compat
6dd469
mv gcc/testsuite{,.compat}
6dd469
mv gcc/testsuite{.prev,}
6dd469
echo ====================TESTING=========================
6dd469
cat testresults
6dd469
echo ===`gcc --version | head -1` compatibility tests====
6dd469
cat testresults2
6dd469
echo ====================TESTING END=====================
6dd469
mkdir testlogs-%{_target_platform}-%{version}-%{release}
6dd469
for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
6dd469
  ln $i testlogs-%{_target_platform}-%{version}-%{release}/ || :
6dd469
done
6dd469
for i in `find gcc/testsuite.compat -name \*.log | grep -v 'config.log\|acats.*/tests/'`; do
6dd469
  ln $i testlogs-%{_target_platform}-%{version}-%{release}/`basename $i`.compat || :
6dd469
done
6dd469
tar cf - testlogs-%{_target_platform}-%{version}-%{release} | bzip2 -9c \
6dd469
  | uuencode testlogs-%{_target_platform}.tar.bz2 || :
6dd469
rm -rf testlogs-%{_target_platform}-%{version}-%{release}
6dd469
6dd469
%clean
6dd469
rm -rf %{buildroot}
6dd469
6dd469
%files
6dd469
%defattr(-,root,root,-)
6dd469
%dir %{_root_prefix}
6dd469
%dir %{_root_prefix}/%{_lib}
6dd469
%{_root_prefix}/%{_lib}/compat-sap-c++-%{gcc_version}.so
6dd469
%{_root_prefix}/%{_lib}/compat-sap-c++-7.so
6dd469
%{_root_prefix}/%{_lib}/README
6dd469
6dd469
%changelog
6dd469
* Tue Nov 28 2017 Marek Polacek <polacek@redhat.com> 7.2.1-2
6dd469
- clean up RPM dependencies (#1491573)
6dd469
- include gcc -v output in the README file (#1491594)
6dd469
6dd469
* Wed Nov 22 2017 Marek Polacek <polacek@redhat.com> 7.2.1-1
6dd469
- new package