Package init
This commit is contained in:
commit
13f45e33c2
26
Config-Perl-V-0.24-Remove-invalid-shellbang.patch
Normal file
26
Config-Perl-V-0.24-Remove-invalid-shellbang.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 26c312a1f52b06b26fb035f7e7855b8056d48728 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||||
|
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ř <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
||||||
BIN
Config-Perl-V-0.30.tgz
Normal file
BIN
Config-Perl-V-0.30.tgz
Normal file
Binary file not shown.
70
perl-Config-Perl-V.spec
Normal file
70
perl-Config-Perl-V.spec
Normal file
@ -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 <buildteam@openeuler.org> - 0.30-4
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: change the directory of README and examples/
|
||||||
|
|
||||||
|
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.30-3
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove some notes
|
||||||
|
|
||||||
|
* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.30-2
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user