代码拉取完成,页面将自动刷新
%global debug_package %{nil}
Name: perl-common-sense
Version: 3.7.4
Release: 14
Summary: save a tree AND a kitten, use common::sense
License: GPL+ or Artistic
URL: https://metacpan.org/release/common-sense
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.74.tar.gz
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
This module implements some sane defaults for Perl programs, as
defined by two typical (or not so typical - use your common sense)
specimens of Perl coders. In fact, after working out details on
which warnings and strict modes to enable and make fatal, we found
that we (and our code written so far, and others) fully agree on
every option, even though we never used warnings before, so it
seems this module indeed reflects a "common" sense among some
long-time Perl coders.
%package_help
%prep
%autosetup -n common-sense-3.74 -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)
%license LICENSE
%dir %{perl_vendorarch}/common/
%{perl_vendorarch}/common/sense.pm
%files help
%defattr(-,root,root)
%doc Changes README t/
%doc %{perl_vendorarch}/common/sense.pod
%{_mandir}/man3/common::sense.3*
%changelog
* Thu Mar 5 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.7.4-14
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。