代码拉取完成,页面将自动刷新
Name: perl-Text-Diff-Parser
Version: 0.1001
Release: 2
Summary: Parse patch files containing unified and standard diffs
License: GPL+ or Artistic
URL: https://metacpan.org/release/Text-Diff-Parser
Source0: https://cpan.metacpan.org/authors/id/G/GW/GWYN/Text-Diff-Parser-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time
BuildRequires: perl(Carp)
BuildRequires: perl(IO::File)
# Tests
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Test::More)
# Optional tests
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
%{?perl_default_filter}
%description
Text::Diff::Parser parses diff files and patches. It allows you to access
the changes to a file in a standardized way, even if multiple patch
formats are used.
%prep
%setup -q -n Text-Diff-Parser-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Sep 24 2025 Fansheng Meng <dev01206@linx-info.com> - 0.1001-2
- drop useless perl(:MODULE_COMPAT) requirement
* Thu Jul 01 2021 Wang Gang <wanggang@kylinos.cn> - 0.1001-1
- init project
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。