init perl-Test-Regexp package
This commit is contained in:
parent
5eaaa8d1de
commit
db60ec09c7
BIN
Test-Regexp-2017040101.tar.gz
Normal file
BIN
Test-Regexp-2017040101.tar.gz
Normal file
Binary file not shown.
44
perl-Test-Regexp.spec
Normal file
44
perl-Test-Regexp.spec
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
Name: perl-Test-Regexp
|
||||||
|
Version: 2017040101
|
||||||
|
Release: 1
|
||||||
|
Summary: Perl Modul, Test::Regexp, a module to test regular
|
||||||
|
License: MIT
|
||||||
|
URL: https://metacpan.org/release/Test-Regexp
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Test-Regexp-2017040101.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
|
||||||
|
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Obsoletes: %{name}-tests < %{version}-%{release}
|
||||||
|
Provides: %{name}-tests = %{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Test::Regexp - a module to test regular
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Test-Regexp-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc TODO README
|
||||||
|
%{perl_vendorlib}/Test
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user