diff --git a/ExtUtils-Depends-0.8000.tar.gz b/ExtUtils-Depends-0.8000.tar.gz deleted file mode 100644 index a5337609350e04af3b1408e93613b0b412431929..0000000000000000000000000000000000000000 Binary files a/ExtUtils-Depends-0.8000.tar.gz and /dev/null differ diff --git a/ExtUtils-Depends-0.8001.tar.gz b/ExtUtils-Depends-0.8001.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fce670ec248ab8878d58bc447488a66dc186ba1d Binary files /dev/null and b/ExtUtils-Depends-0.8001.tar.gz differ diff --git a/perl-ExtUtils-Depends.spec b/perl-ExtUtils-Depends.spec index ba2b7db362ea9baa7b01a9509f7e20d3f722bede..68449b0ddb9fa747d5e895c09f90ea3e98996437 100644 --- a/perl-ExtUtils-Depends.spec +++ b/perl-ExtUtils-Depends.spec @@ -1,77 +1,69 @@ -%global _empty_manifest_terminate_build 0 Name: perl-ExtUtils-Depends -Version: 0.8000 -Release: 2 +Version: 0.8001 +Release: 1 Summary: Easily build XS extensions that depend on XS extensions -License: Artistic-1.0-Perl -Group: Development/Libraries -URL: http://search.cpan.org/dist/ExtUtils-Depends/ -Source0: http://www.cpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPL-1.0-or-later OR Artistic-1.0-Perl +URL: https://metacpan.org/release/ExtUtils-Depends +Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-Depends-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl >= 0:5.006 +# Module Build +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) >= 7.44 +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(Config) BuildRequires: perl(Data::Dumper) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(File::Find) BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::File) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(base) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(lib) BuildRequires: perl(Test::More) -Requires: perl(Data::Dumper) -Requires: perl(File::Spec) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Dependencies +Requires: perl(DynaLoader) + %description This module tries to make it easy to build Perl extensions that use -functions and typemaps provided by other perl extensions. This means that a -perl extension is treated like a shared library that provides also a C and -an XS interface besides the perl one. -%package help -Summary : Easily build XS extensions that depend on XS extensions -Provides: perl-ExtUtils-Depends-doc -%description help -This module tries to make it easy to build Perl extensions that use -functions and typemaps provided by other perl extensions. This means that a -perl extension is treated like a shared library that provides also a C and -an XS interface besides the perl one. +functions and typemaps provided by other Perl extensions. This means +that a Perl extension is treated like a shared library that provides +also a C and an XS interface besides the Perl one. + %prep %setup -q -n ExtUtils-Depends-%{version} + %build -export PERL_MM_OPT="" -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 +%{make_build} %install -export PERL_MM_OPT="" -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +%{make_install} +%{_fixperms} -c %{buildroot} -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* - -pushd %{buildroot} -touch filelist.lst -if [ -d usr/bin ];then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ];then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -popd -mv %{buildroot}/filelist.lst . %check make test -%clean -rm -rf $RPM_BUILD_ROOT - -%files -f filelist.lst -%defattr(-,root,root,-) -%doc Changes META.json README -%{perl_vendorlib}/* -%files help -%{_mandir}/* +%files +%doc Changes README +%{perl_vendorlib}/ExtUtils/ +%{_mandir}/man3/ExtUtils::Depends.3* %changelog +* Fri Jan 26 2024 Dongxing Wang - 0.8001-1 +- Update package with version 0.8001 + * Fri Jun 28 2022 tanyulong 0.8000-2 - Improve the project according to the requirements of compliance improvement