Ai
5 Star 0 Fork 3

src-openEuler/perl-Text-Diff-Parser

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Text-Diff-Parser.spec 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
cwdlf 提交于 2025-09-24 11:05 +08:00 . drop useless perl(:MODULE_COMPAT) requirement
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Text-Diff-Parser.git
git@gitee.com:src-openeuler/perl-Text-Diff-Parser.git
src-openeuler
perl-Text-Diff-Parser
perl-Text-Diff-Parser
master

搜索帮助