remove obsolete perl-Module-Build [release 5.36.0-2mamba;Sat Apr 15 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 08:30:47 +01:00
parent 1a5c160305
commit ef08e04dc1

102
perl.spec
View File

@ -27,15 +27,15 @@
# rpm -ba --define='bootstrap 1' perl.spec # rpm -ba --define='bootstrap 1' perl.spec
Name: perl Name: perl
Version: 5.24.4 Version: 5.36.0
Release: 6mamba Release: 2mamba
Epoch: 2 Epoch: 2
Summary: Practical Extraction and Report Language Summary: Practical Extraction and Report Language
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.perl.com URL: https://www.perl.com/
Source: http://www.cpan.org/src/%{MAJver}.0/perl-%{version}.tar.gz Source: http://www.cpan.org/src/%{MAJver}.0/perl-%{version}.tar.gz
Source1: macros.perl Source1: macros.perl
Patch0: %{name}-5.10.1-norootcheck.patch Patch0: %{name}-5.10.1-norootcheck.patch
@ -49,6 +49,7 @@ License: GPL, Artistic
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libdb53-devel BuildRequires: libdb53-devel
BuildRequires: libgdbm-devel BuildRequires: libgdbm-devel
BuildRequires: libnsl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: sed >= 4.1.4 BuildRequires: sed >= 4.1.4
BuildRequires: man-db BuildRequires: man-db
@ -68,11 +69,10 @@ Provides: perl(timelocal.pl)
#Provides: perl(locale) #Provides: perl(locale)
#Provides: perl(subs) #Provides: perl(subs)
Provides: perl(Carp::Heavy) Provides: perl(Carp::Heavy)
Obsoletes: perl-Test-Builder-Tester
Provides: perl-Archive-Tar Provides: perl-Archive-Tar
Obsoletes: perl-Archive-Tar < 2:5.24 Obsoletes: perl-Archive-Tar < 2:5.24
#Provides: perl-Module-Build #Provides: perl-Module-Build
#Obsoletes: perl-Module-Build #Obsoletes: perl-Module-Build < 2:5.24
Provides: perl-Pod-Escapes Provides: perl-Pod-Escapes
Obsoletes: perl-Pod-Escapes < 2:5.24 Obsoletes: perl-Pod-Escapes < 2:5.24
Provides: perl-Pod-Simple Provides: perl-Pod-Simple
@ -100,6 +100,11 @@ Obsoletes: perl-IO-Socket-IP < 2:5.24
Provides: perl-Test-Tester Provides: perl-Test-Tester
Obsoletes: perl-Test-Tester < 2:5.24 Obsoletes: perl-Test-Tester < 2:5.24
Provides: perl-Test-Builder-Tester Provides: perl-Test-Builder-Tester
Obsoletes: perl-Test-Builder-Tester < 2:5.24
Provides: perl-ExtUtils-PL2Bat
Obsoletes: perl-ExtUtils-PL2Bat <= 0.005-1mamba
Provides: perl-Test-Simple
Obsoletes: perl-Test-Simple <= 1.302194-1mamba
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
@ -129,25 +134,19 @@ Perl's hallmarks are practicality and efficiency.
While it is used to do a lot of different things, Perl's most common applications (and what it excels at) are probably system administration utilities and web programming. While it is used to do a lot of different things, Perl's most common applications (and what it excels at) are probably system administration utilities and web programming.
A large proportion of the CGI scripts on the web are written in Perl. A large proportion of the CGI scripts on the web are written in Perl.
You need the perl package installed on your system so that your system can handle Perl scripts. You need the perl package installed on your system so that your system can handle Perl scripts.
This is the devel package for perl. This is the devel package for perl.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
#-D -T
#:<< ___EOF
%global __requires_exclude ^perl\\( %global __requires_exclude ^perl\\(
#:<< _EOF
## Warning: don't replace perl with %{name} below
#% define __perl_requires %{_builddir}/perl-%{version}/perl_requires.sh
## don't require any perl module
#cat > perl_requires.sh << _EOF
##! /bin/sh
#%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} | grep -v "perl" | grep -v "^$"
#_EOF
#
#chmod +x perl_requires.sh
%build %build
#:<< _EOF
#%if "%{_host}" != "%{_build}" #%if "%{_host}" != "%{_build}"
## unrepoducible ugly hacks to cross-compile perl ## unrepoducible ugly hacks to cross-compile perl
#%{_build}-gcc -DPERL_CORE -c -fexpensive-optimizations -fomit-frame-pointer -O2 -std=c89 -O2 \ #%{_build}-gcc -DPERL_CORE -c -fexpensive-optimizations -fomit-frame-pointer -O2 -std=c89 -O2 \
@ -234,11 +233,6 @@ for f in Config.pm Config_heavy.pl CORE/config.h; do
%{buildroot}/usr/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi/$f %{buildroot}/usr/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi/$f
done done
# Provide legacy /usr/bin/perl5.24.0 symlink
if [ "%{version}" == 5.24.4 ]; then
ln -s perl%{version} %{buildroot}%{_bindir}/perl5.24.0
fi
install -D -m0644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.perl install -D -m0644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.perl
%clean %clean
@ -263,7 +257,6 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%{_bindir}/json_pp %{_bindir}/json_pp
%{_bindir}/perl %{_bindir}/perl
%{_bindir}/perl5 %{_bindir}/perl5
%{_bindir}/perl5.24.0
%{_bindir}/perl%{version} %{_bindir}/perl%{version}
%{_bindir}/perlbug %{_bindir}/perlbug
%{_bindir}/perldoc %{_bindir}/perldoc
@ -286,12 +279,12 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%{_bindir}/zipdetails %{_bindir}/zipdetails
#%{_bindir}/suidperl #%{_bindir}/suidperl
%{_libdir}/libperl.so %{_libdir}/libperl.so
%{_rpmmacrodir}/macros.perl
%dir %{perl_root} %dir %{perl_root}
#% if "%{_host_cpu}" == "%{_build_cpu}" #% if "%{_host_cpu}" == "%{_build_cpu}"
%{_mandir}/man?/* %{_mandir}/man?/*
#% endif #% endif
%exclude %{_prefix}/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi %exclude %{_prefix}/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi
%exclude %{_prefix}/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi/CORE
%files -n libperl %files -n libperl
%defattr(-,root,root) %defattr(-,root,root)
@ -302,7 +295,7 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%files -n perl-devel -f %{_tmppath}/perl-develpkg %files -n perl-devel -f %{_tmppath}/perl-develpkg
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/c2ph #%{_bindir}/c2ph
#%{_bindir}/dprofpp #%{_bindir}/dprofpp
%{_bindir}/enc2xs %{_bindir}/enc2xs
%{_bindir}/h2ph %{_bindir}/h2ph
@ -313,29 +306,64 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%{_bindir}/pl2pm %{_bindir}/pl2pm
%{_bindir}/pod2usage %{_bindir}/pod2usage
%{_bindir}/podchecker %{_bindir}/podchecker
%{_bindir}/podselect #%{_bindir}/podselect
%{_bindir}/pstruct #%{_bindir}/pstruct
%{_bindir}/streamzip
%{_bindir}/xsubpp %{_bindir}/xsubpp
%{_rpmmacrodir}/macros.perl
%doc Changes README %doc Changes README
%changelog %changelog
* Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-6mamba * Sat Apr 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.36.0-2mamba
- update macros.perl with missing required definitions - remove obsolete perl-Module-Build
* Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-5mamba * Sat May 28 2022 Automatic Build System <autodist@mambasoft.it> 5.36.0-1mamba
- fix macros.perl with rpm 4.16 - automatic version update by autodist
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-4mamba * Sun Mar 13 2022 Automatic Build System <autodist@mambasoft.it> 5.34.1-1mamba
- provide rpm macros.perl removed from rpm 4.16 - automatic version update by autodist
* Fri Feb 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-3mamba * Mon Jan 10 2022 Automatic Build System <autodist@mambasoft.it> 5.34.0-1mamba
- remove obsolete for perl-Module-Build - automatic version update by autodist
* Sun Jan 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-2mamba * Sun Jan 24 2021 Automatic Build System <autodist@mambasoft.it> 5.32.1-1mamba
- provide legacy /usr/bin/perl5.24.0 symlink - automatic version update by autodist
* Sat Jan 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-1mamba * Fri Jun 26 2020 Automatic Build System <autodist@mambasoft.it> 5.32.0-1mamba
- update to 5.24.4 - automatic version update by autodist
* Wed Jun 03 2020 Automatic Build System <autodist@mambasoft.it> 5.30.3-1mamba
- automatic version update by autodist
* Sun Mar 15 2020 Automatic Build System <autodist@mambasoft.it> 5.30.2-1mamba
- automatic version update by autodist
* Fri Nov 22 2019 Automatic Build System <autodist@mambasoft.it> 5.30.1-1mamba
- automatic version update by autodist
* Thu May 23 2019 Automatic Build System <autodist@mambasoft.it> 5.30.0-1mamba
- automatic version update by autodist
* Sat Apr 20 2019 Automatic Build System <autodist@mambasoft.it> 5.28.2-1mamba
- automatic version update by autodist
* Fri Dec 07 2018 Automatic Build System <autodist@mambasoft.it> 5.28.1-1mamba
- automatic version update by autodist
* Mon Jun 25 2018 Automatic Build System <autodist@mambasoft.it> 5.28.0-1mamba
- automatic version update by autodist
* Sat Apr 21 2018 Automatic Build System <autodist@mambasoft.it> 5.26.2-1mamba
- automatic version update by autodist
* Wed Sep 27 2017 Automatic Build System <autodist@mambasoft.it> 5.26.1-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 5.26.0-1mamba
- automatic version update by autodist
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 5.24.1-1mamba
- automatic version update by autodist
* Sat Nov 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.0-2mamba * Sat Nov 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.0-2mamba
- backport from perl 5.16.3 in devel: move libperl.so and %{perl_vendor} modules under libperl package - backport from perl 5.16.3 in devel: move libperl.so and %{perl_vendor} modules under libperl package