commit
3b40aca3f8
@ -1,11 +0,0 @@
|
||||
--- lib/Perl/OSType.pm
|
||||
+++ lib/Perl/OSType.pm
|
||||
@@ -108,6 +108,8 @@ version 1.008
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
+=for :stopwords Unix Win32 Windows
|
||||
+
|
||||
Modules that provide OS-specific behaviors often need to know if
|
||||
the current operating system matches a more generic type of
|
||||
operating systems. For example, 'linux' is a type of 'Unix' operating system
|
||||
@ -1,19 +1,15 @@
|
||||
%global perl_package_name Perl-OSType
|
||||
Name: perl-Perl-OSType
|
||||
Version: 1.010
|
||||
Release: 420
|
||||
Release: 421
|
||||
Summary: Map Perl operating system names to generic types
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Perl-OSType
|
||||
BuildArch: noarch
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{perl_package_name}-%{version}.tar.gz
|
||||
Patch0: Perl-OSType-1.010-stopwords.patch
|
||||
|
||||
BuildRequires: git gcc make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: gcc make perl-interpreter perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
@ -24,7 +20,7 @@ operating system matches a more generic type of operating systems. For example,
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{perl_package_name}-%{version} -S git -p0
|
||||
%autosetup -n %{perl_package_name}-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
@ -47,7 +43,13 @@ make test
|
||||
%{_mandir}/man3/Perl::OSType.3*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 26 2019 shenyangyang<shenyangyang4@huawei.com> - 1.010-420
|
||||
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.010-421
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:delete redundant file
|
||||
|
||||
* Thu Sep 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.010-420
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
@ -55,4 +57,3 @@ make test
|
||||
|
||||
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.010-419
|
||||
- Package init
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user