Update package with version 0.8001
This commit is contained in:
parent
6afcdabf82
commit
8825a06335
Binary file not shown.
BIN
ExtUtils-Depends-0.8001.tar.gz
Normal file
BIN
ExtUtils-Depends-0.8001.tar.gz
Normal file
Binary file not shown.
@ -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_install}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
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 <dongxing.wang_a@thundersoft.com> - 0.8001-1
|
||||
- Update package with version 0.8001
|
||||
|
||||
* Fri Jun 28 2022 tanyulong <tanyulong@kylinos.cn> 0.8000-2
|
||||
- Improve the project according to the requirements of compliance improvement
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user