代码拉取完成,页面将自动刷新
%global _empty_manifest_terminate_build 0
Name: perl-Package-DeprecationManager
Version: 0.18
Release: 1
Summary: Manage deprecation warnings for your distribution
License: GPL-1.0-only or Artistic-1.0-Perl
Group: Development/Libraries
URL: https://metacpan.org/dist/Package-DeprecationManager
Source0: https://www.cpan.org/modules/by-module/Package/Package-DeprecationManager-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl => 2.008001
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(Carp)
BuildRequires: perl(List::Util)
BuildRequires: perl(Package::Stash)
BuildRequires: perl(Params::Util)
BuildRequires: perl(Sub::Install)
BuildRequires: perl(Sub::Util)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::Warnings)
BuildRequires: perl(Test::More)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This module allows you to manage a set of deprecations for one or more modules.
When you import Package::DeprecationManager, you must provide a set of -deprecations as a hash ref. The keys are "feature" names, and the values are the version when that feature was deprecated.
In many cases, you can simply use the fully qualified name of a subroutine or method as the feature name. This works for cases where the whole subroutine is deprecated. However, the feature names can be any string. This is useful if you don't want to deprecate an entire subroutine, just a certain usage.
%package help
Summary : Manage deprecation warnings for your distribution
Provides: perl-Package-DeprecationManager
%description help
This module allows you to manage a set of deprecations for one or more modules.
When you import Package::DeprecationManager, you must provide a set of -deprecations as a hash ref. The keys are "feature" names, and the values are the version when that feature was deprecated.
In many cases, you can simply use the fully qualified name of a subroutine or method as the feature name. This works for cases where the whole subroutine is deprecated. However, the feature names can be any string. This is useful if you don't want to deprecate an entire subroutine, just a certain usage.
%prep
%setup -q -n Package-DeprecationManager-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%check
make test
%files
%doc Changes META.yml
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Mar 6 2024 woody2918 <wudi1@uniontech.com> - 0.18-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。