12 Star 0 Fork 8

src-openEuler/perl-Algorithm-Diff

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Algorithm-Diff.spec 2.03 KB
一键复制 编辑 原始数据 按行查看 历史
%global perl_package_name Algorithm-Diff
Name: perl-%{perl_package_name}
Version: 1.201
Release: 3
Epoch: 1
Summary: Compute `intelligent' differences between two files / lists
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/pod/Algorithm::Diff
Source0: https://cpan.metacpan.org/authors/id/T/TY/TYEMQ/%{perl_package_name}-%{version}.tar.gz
Patch1: Algorithm-Diff-1.1903-provides.patch
BuildArch: noarch
BuildRequires: gcc make
BuildRequires: perl-interpreter perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Carp) perl(Exporter) perl(integer)
BuildRequires: perl(strict) perl(vars)
BuildRequires: perl(Data::Dumper) perl(lib) perl(Test)
Requires: perl(Carp)
%description
This is a module for computing the difference between two files, two strings,
or any other two lists of things. It uses an intelligent algorithm similar to
(or identical to) the one used by the Unix "diff" program. It is guaranteed to
find the *smallest possible* set of differences.
%package_help
%prep
%autosetup -n %{perl_package_name}-%{version} -p0
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=${RPM_BUILD_ROOT}
%{_fixperms} -c $RPM_BUILD_ROOT
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/Algorithm
%files help
%{_mandir}/man3/*
%changelog
* Tue Jan 14 2025 Funda Wang <fundawang@yeah.net> - 1:1.201-3
- drop useless perl(:MODULE_COMPAT) requirement
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1:1.201-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jan 27 2021 liudabo <liudabo1@huawei.com> - 1:1.201-1
- upgrade version to 1.201
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1903-14
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: remove unnecessary files
* Thu Sep 26 2019 shenyangyang<shenyangyang4@huawei.com> - 1.1903-13
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise help package
* Fri Aug 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1903-12
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Algorithm-Diff.git
git@gitee.com:src-openeuler/perl-Algorithm-Diff.git
src-openeuler
perl-Algorithm-Diff
perl-Algorithm-Diff
master

搜索帮助