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
Name: perl
Version: 5.24.4
Release: 6mamba
Version: 5.36.0
Release: 2mamba
Epoch: 2
Summary: Practical Extraction and Report Language
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
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
Source1: macros.perl
Patch0: %{name}-5.10.1-norootcheck.patch
@ -49,6 +49,7 @@ License: GPL, Artistic
BuildRequires: glibc-devel
BuildRequires: libdb53-devel
BuildRequires: libgdbm-devel
BuildRequires: libnsl-devel
## AUTOBUILDREQ-END
BuildRequires: sed >= 4.1.4
BuildRequires: man-db
@ -68,11 +69,10 @@ Provides: perl(timelocal.pl)
#Provides: perl(locale)
#Provides: perl(subs)
Provides: perl(Carp::Heavy)
Obsoletes: perl-Test-Builder-Tester
Provides: perl-Archive-Tar
Obsoletes: perl-Archive-Tar < 2:5.24
#Provides: perl-Module-Build
#Obsoletes: perl-Module-Build
#Obsoletes: perl-Module-Build < 2:5.24
Provides: perl-Pod-Escapes
Obsoletes: perl-Pod-Escapes < 2:5.24
Provides: perl-Pod-Simple
@ -100,6 +100,11 @@ Obsoletes: perl-IO-Socket-IP < 2:5.24
Provides: perl-Test-Tester
Obsoletes: perl-Test-Tester < 2:5.24
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}
%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.
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.
This is the devel package for perl.
%debug_package
%prep
%setup -q
#-D -T
#:<< ___EOF
%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
#:<< _EOF
#%if "%{_host}" != "%{_build}"
## unrepoducible ugly hacks to cross-compile perl
#%{_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
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
%clean
@ -263,7 +257,6 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%{_bindir}/json_pp
%{_bindir}/perl
%{_bindir}/perl5
%{_bindir}/perl5.24.0
%{_bindir}/perl%{version}
%{_bindir}/perlbug
%{_bindir}/perldoc
@ -286,12 +279,12 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%{_bindir}/zipdetails
#%{_bindir}/suidperl
%{_libdir}/libperl.so
%{_rpmmacrodir}/macros.perl
%dir %{perl_root}
#% if "%{_host_cpu}" == "%{_build_cpu}"
%{_mandir}/man?/*
#% endif
%exclude %{_prefix}/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi
%exclude %{_prefix}/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi/CORE
%files -n libperl
%defattr(-,root,root)
@ -302,7 +295,7 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%files -n perl-devel -f %{_tmppath}/perl-develpkg
%defattr(-,root,root)
%{_bindir}/c2ph
#%{_bindir}/c2ph
#%{_bindir}/dprofpp
%{_bindir}/enc2xs
%{_bindir}/h2ph
@ -313,29 +306,64 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%{_bindir}/pl2pm
%{_bindir}/pod2usage
%{_bindir}/podchecker
%{_bindir}/podselect
%{_bindir}/pstruct
#%{_bindir}/podselect
#%{_bindir}/pstruct
%{_bindir}/streamzip
%{_bindir}/xsubpp
%{_rpmmacrodir}/macros.perl
%doc Changes README
%changelog
* Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-6mamba
- update macros.perl with missing required definitions
* Sat Apr 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.36.0-2mamba
- remove obsolete perl-Module-Build
* Mon Mar 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-5mamba
- fix macros.perl with rpm 4.16
* Sat May 28 2022 Automatic Build System <autodist@mambasoft.it> 5.36.0-1mamba
- automatic version update by autodist
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-4mamba
- provide rpm macros.perl removed from rpm 4.16
* Sun Mar 13 2022 Automatic Build System <autodist@mambasoft.it> 5.34.1-1mamba
- automatic version update by autodist
* Fri Feb 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-3mamba
- remove obsolete for perl-Module-Build
* Mon Jan 10 2022 Automatic Build System <autodist@mambasoft.it> 5.34.0-1mamba
- automatic version update by autodist
* Sun Jan 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-2mamba
- provide legacy /usr/bin/perl5.24.0 symlink
* Sun Jan 24 2021 Automatic Build System <autodist@mambasoft.it> 5.32.1-1mamba
- automatic version update by autodist
* Sat Jan 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-1mamba
- update to 5.24.4
* Fri Jun 26 2020 Automatic Build System <autodist@mambasoft.it> 5.32.0-1mamba
- 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
- backport from perl 5.16.3 in devel: move libperl.so and %{perl_vendor} modules under libperl package