代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/perl-Compress-LZ4 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: perl-Compress-LZ4
Version: 0.25
Release: 1
Summary: Perl interface to the LZ4 compression library
# other files: GPL+ or Artistic
## Not in binary package
# src: BSD
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Compress-LZ4
Source0: https://cpan.metacpan.org/modules/by-module/Compress/Compress-LZ4-%{version}.tar.gz
# Do not use bundled lz4 sources
Patch0: Compress-LZ4-0.22-Build-against-system-lz4.patch
BuildRequires: gcc
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: lz4-devel
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: sed
# Run-time:
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(XSLoader)
# Tests:
BuildRequires: perl(Config)
BuildRequires: perl(overload)
BuildRequires: perl(Test::More) >= 0.82
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Exporter) >= 5.57
# Filter under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Exporter\\)$
%description
The Compress::LZ4 module provides an interface to the LZ4 compression library
%prep
%setup -q -n Compress-LZ4-%{version}
%patch0 -p1
# Remove bundled lz4
rm -Rf src
sed -i -e '/^src\//d' MANIFEST
# Correct permissions
chmod -c -x ex/*
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README ex
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Compress*
%{_mandir}/man3/*
%changelog
* Thu Feb 1 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.25-1
- Initial package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。