commit 13f45e33c2c88d58846a488545d930535c739c76 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:11:46 2019 -0400 Package init diff --git a/Config-Perl-V-0.24-Remove-invalid-shellbang.patch b/Config-Perl-V-0.24-Remove-invalid-shellbang.patch new file mode 100644 index 0000000..b4c7aa9 --- /dev/null +++ b/Config-Perl-V-0.24-Remove-invalid-shellbang.patch @@ -0,0 +1,26 @@ +From 26c312a1f52b06b26fb035f7e7855b8056d48728 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Wed, 1 Jul 2015 13:47:28 +0200 +Subject: [PATCH] Remove invalid shellbang +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař +--- + examples/show-v.pl | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/examples/show-v.pl b/examples/show-v.pl +index 2fac597..b43056a 100755 +--- a/examples/show-v.pl ++++ b/examples/show-v.pl +@@ -1,5 +1,3 @@ +-#!/pro/bin/perl +- + use strict; + use warnings; + +-- +2.4.3 + diff --git a/Config-Perl-V-0.30.tgz b/Config-Perl-V-0.30.tgz new file mode 100644 index 0000000..7895ef6 Binary files /dev/null and b/Config-Perl-V-0.30.tgz differ diff --git a/perl-Config-Perl-V.spec b/perl-Config-Perl-V.spec new file mode 100644 index 0000000..c527521 --- /dev/null +++ b/perl-Config-Perl-V.spec @@ -0,0 +1,70 @@ +Name: perl-Config-Perl-V +Version: 0.30 +Release: 4 +Summary: A module that will return you the output of 'perl -V' in a structure +License: GPL+ or Artistic +URL: https://metacpan.org/release/Config-Perl-V +Source0: https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/Config-Perl-V-%{version}.tgz + +Patch1: Config-Perl-V-0.24-Remove-invalid-shellbang.patch + +BuildArch: noarch +BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(Test::More) perl(Test::NoWarnings) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Suggests: perl(Digest::MD5) + +%description +The command 'perl -V' will return you an excerpt from the %Config hash +combined with the output of 'perl -V' that is not stored inside %Config, +but only available to the perl binary itself. + +%package_help + +%prep +%autosetup -n Config-Perl-V-%{version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%make_build + +%install +%make_install +%{_fixperms} -c %{buildroot} + +%check +make test + +%pre + +%preun + +%post + +%postun + +%files +%defattr(-,root,root) +%doc Changelog README +%{perl_vendorlib}/* + +%files help +%defattr(-,root,root) +%doc examples/ CONTRIBUTING.md +%{_mandir}/man3/*.gz + +%changelog +* Fri Sep 27 2019 openEuler Buildteam - 0.30-4 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: change the directory of README and examples/ + +* Tue Sep 24 2019 openEuler Buildteam - 0.30-3 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:remove some notes + +* Fri Aug 23 2019 openEuler Buildteam - 0.30-2 +- Package init