update specs for 9.1
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
#TARBALL:
|
||||
#MD5SUM: ;SOURCES/gcc-8.2.0.tar.xz
|
||||
#TARBALL: http://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
|
||||
#MD5SUM: 3818ad8600447f05349098232c2ddc78;SOURCES/gcc-9.2.0.tar.xz
|
||||
#-----------------------------------------------------------------------------
|
||||
Summary: The GCC package contains the GNU compiler collection
|
||||
Name: gcc
|
||||
Version: 8.2.0
|
||||
Version: 9.2.0
|
||||
Release: 1
|
||||
License: GPLv2
|
||||
URL: Any
|
||||
Group: LFS/Base
|
||||
Vendor: Elizabeth
|
||||
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
|
||||
Provides: libgcc_s.so.1()(64bit)
|
||||
Provides: libgcc_s.so.1(GCC_3.0)(64bit)
|
||||
Provides: libgcc_s.so.1(GCC_3.3)(64bit)
|
||||
Provides: libgcc_s.so.1(GCC_4.2.0)(64bit)
|
||||
Provides: libgcc_s.so.1()(64bit) = %{version}
|
||||
Provides: libgcc_s.so.1(GCC_3.0)(64bit) = %{version}
|
||||
Provides: libgcc_s.so.1(GCC_3.3)(64bit) = %{version}
|
||||
Provides: libgcc_s.so.1(GCC_4.2.0)(64bit) = %{version}
|
||||
Requires: filesystem
|
||||
%description
|
||||
The GCC package contains the GNU compiler collection, which includes the C and C++ compilers.
|
||||
@@ -21,8 +20,7 @@ The GCC package contains the GNU compiler collection, which includes the C and C
|
||||
%prep
|
||||
%setup -q -n %{NAME}-%{VERSION}
|
||||
sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
|
||||
[ -h /usr/lib/gcc ] && rm -f /usr/lib/gcc
|
||||
[ -d /usr/lib/gcc ] && rm -rf /usr/lib/gcc
|
||||
sed -e '1161 s|^|//|' -i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||
mkdir build
|
||||
%build
|
||||
cd build
|
||||
@@ -32,7 +30,6 @@ The GCC package contains the GNU compiler collection, which includes the C and C
|
||||
--enable-languages=c,c++ \
|
||||
--disable-multilib \
|
||||
--disable-bootstrap \
|
||||
--disable-libmpx \
|
||||
--with-system-zlib
|
||||
make %{?_smp_mflags}
|
||||
%install
|
||||
@@ -54,18 +51,19 @@ The GCC package contains the GNU compiler collection, which includes the C and C
|
||||
# Create file list
|
||||
rm %{buildroot}%{_infodir}/dir
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
|
||||
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
|
||||
sed -i '/man\/man/d' filelist.rpm
|
||||
sed -i '/\/usr\/share\/info/d' filelist.rpm
|
||||
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
|
||||
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
|
||||
sed -i '/man\/man/d' filelist.list
|
||||
sed -i '/\/usr\/share\/info/d' filelist.list
|
||||
#-----------------------------------------------------------------------------
|
||||
%files -f filelist.rpm
|
||||
%files -f filelist.list
|
||||
%defattr(-,root,root)
|
||||
%{_infodir}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man7/*
|
||||
#-----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 9.2.0-1
|
||||
* Tue Mar 26 2019 baho-utot <baho-utot@columbus.rr.com> 8.2.0-1
|
||||
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 7.3.0-1
|
||||
- Initial build. First version
|
||||
|
Reference in New Issue
Block a user