!8 Update package with version 0.8001
From: @desert-sailor Reviewed-by: @xzyangha Signed-off-by: @xzyangha
This commit is contained in:
commit
68ae48d426
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
|
Name: perl-ExtUtils-Depends
|
||||||
Version: 0.8000
|
Version: 0.8001
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Easily build XS extensions that depend on XS extensions
|
Summary: Easily build XS extensions that depend on XS extensions
|
||||||
License: Artistic-1.0-Perl
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
Group: Development/Libraries
|
URL: https://metacpan.org/release/ExtUtils-Depends
|
||||||
URL: http://search.cpan.org/dist/ExtUtils-Depends/
|
Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-Depends-%{version}.tar.gz
|
||||||
Source0: http://www.cpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
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(Data::Dumper)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(DynaLoader)
|
||||||
|
BuildRequires: perl(File::Find)
|
||||||
BuildRequires: perl(File::Spec)
|
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)
|
BuildRequires: perl(Test::More)
|
||||||
Requires: perl(Data::Dumper)
|
# Dependencies
|
||||||
Requires: perl(File::Spec)
|
Requires: perl(DynaLoader)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
||||||
%description
|
%description
|
||||||
This module tries to make it easy to build Perl extensions that use
|
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
|
functions and typemaps provided by other Perl extensions. This means
|
||||||
perl extension is treated like a shared library that provides also a C and
|
that a Perl extension is treated like a shared library that provides
|
||||||
an XS interface besides the perl one.
|
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.
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ExtUtils-Depends-%{version}
|
%setup -q -n ExtUtils-Depends-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PERL_MM_OPT=""
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{make_build}
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export PERL_MM_OPT=""
|
%{make_install}
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{_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
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
%files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/ExtUtils/
|
||||||
%files -f filelist.lst
|
%{_mandir}/man3/ExtUtils::Depends.3*
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes META.json README
|
|
||||||
%{perl_vendorlib}/*
|
|
||||||
%files help
|
|
||||||
%{_mandir}/*
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 28 2022 tanyulong <tanyulong@kylinos.cn> 0.8000-2
|
||||||
- Improve the project according to the requirements of compliance improvement
|
- Improve the project according to the requirements of compliance improvement
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user