代码拉取完成,页面将自动刷新
Name: perl-Filter
Epoch: 2
Version: 1.65
Release: 1
Summary: Perl source filters
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Filter
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Filter-%{version}.tar.gz
BuildRequires: coreutils findutils gcc make perl-devel perl-generators
BuildRequires: perl-interpreter perl(Config) perl(Getopt::Long) perl(strict)
BuildRequires: perl(Carp) perl(Exporter) perl(warnings) perl(XSLoader)
BuildRequires: perl(Cwd) perl(FindBin) perl(lib) sed
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(:VERSION) >= 5.6
Requires: perl(Carp)
Suggests: bash gcc m4
%description
Source filters alter the program text of a module before Perl sees it, much as
a C preprocessor alters the source text of a C program before the compiler
sees it.
%package_help
%prep
%setup -q -n Filter-%{version}
find examples -type f -exec chmod -x -- {} +
sed -i -e '1 s|.*|%(perl -MConfig -e 'print $Config{startperl}')|' \
examples/filtdef
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Filter*
%doc examples Changes README
%files help
%{_mandir}/man3/*
%changelog
* Mon Sep 01 2025 sqfu <dev01203@linx-info.com> - 2:1.65-1
- update to 1.65
- Docs and CI only
* Sat Jan 18 2025 Funda Wang <fundawang@yeah.net> - 2:1.64-2
- drop useless perl(:MODULE_COMPAT) requirement
* Sat Oct 22 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2:1.64-1
- upgrade version to 1.64
* Fri Jan 14 2022 tianwei <tianwei12@huawei.com> - 2:1.60-2
- fix perl version required symbol
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 2:1.60-1
- upgrade version to 1.60
* Wed Sep 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:1.59-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。