代码拉取完成,页面将自动刷新
Name: perl-Text-Diff-HTML
Version: 0.08
Release: 1
Summary: XHTML format for Text::Diff::Unified
License: GPL+ or Artistic
URL: https://metacpan.org/release/Text-Diff-HTML
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMK/Text-Diff-HTML-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Module::Build)
# Module Runtime
BuildRequires: perl(constant)
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(strict)
BuildRequires: perl(Text::Diff) >= 0.11
BuildRequires: perl(vars)
# Test Suite
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.41
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This class subclasses Text::Diff::Unified, a formatting class provided by
the Text::Diff module, to add XHTML markup to the unified diff format. For
details on the interface of the diff() function, see the Text::Diff
documentation.
%prep
%setup -q -n Text-Diff-HTML-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT
%check
./Build test
%files
%license LICENSE
%doc Changes README.md
%{perl_vendorlib}/Text/
%{_mandir}/man3/Text::Diff::HTML.3pm*
%changelog
* Thu Jul 01 2021 Wang Gang <wanggang@kylinos.cn> - 0.08-1
- init project
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。