update specs for 9.1

This commit is contained in:
2020-06-01 16:11:06 -04:00
parent 2abf2270d6
commit a232f5138b
84 changed files with 1676 additions and 1236 deletions

View File

@@ -1,18 +1,17 @@
#TARBALL: https://www.cpan.org/src/5.0/perl-5.28.1.tar.xz
#MD5SUM: fbb590c305f2f88578f448581b8cf9c4;SOURCES/perl-5.28.1.tar.xz
#TARBALL: https://www.cpan.org/src/5.0/perl-5.30.1.tar.xz
#MD5SUM: f399f3aaee90ddcff5eadd3bccdaacc0;SOURCES/perl-5.30.1.tar.xz
%define __requires_exclude perl\\((VMS|BSD::|Win32|Tk|Mac::|Your::Module::Here|unicore::Name|FCGI|Locale::Codes::.*(Code|Retired))
#|^perl\\(\s\\)
# the following suppresses dependency checks on all modules in /usr/lib/perl5/5.28.1 directories
# the following suppresses dependency checks on all modules in /usr/lib/perl5/5.30.1 directories
%define __requires_exclude_from %{_libdir}/perl5
#-----------------------------------------------------------------------------
Summary: The Perl package contains the Practical Extraction and Report Language.
Name: perl
Version: 5.28.1
Version: 5.30.1
Release: 1
License: GPLv1
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.cpan.org/src/5.0/%{name}-%{version}.tar.xz
Provides: perl = 1:5
Provides: perl = 1:5.8.0
@@ -34,34 +33,27 @@ The Perl package contains the Practical Extraction and Report Language.
-Dpager="${_sbindir}/less -isR" \
-Duseshrplib \
-Dusethreads
# -Doptimize="${CFLAGS}" \
# -Dcccdlflags='-fPIC' \
# -Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}"
# ulimit -s unlimited;make %{?_smp_mflags}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 Copying %{buildroot}/usr/share/licenses/%{name}/LICENSE
# rm -rf %{buildroot}%{_docdir} %{buildroot}%{_mandir}
#-----------------------------------------------------------------------------
# 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)
%{_mandir}/man1/*
%{_mandir}/man3/*
# %%{_bindir}/%%{NAME}%%{VERSION}
# %%{_libdir}/%%{NAME}5/%%{VERSION}/*.pm
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.30.1-1
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 5.28.1-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 5.26.1-1