代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/perl-Sys-Syslog 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%define mod_name Sys-Syslog
Name: perl-%{mod_name}
Version: 0.36
Release: 1
Summary: An interface to the UNIX syslog(3) program
License: GPL+ or Artistic
URL: https://metacpan.org/release/Sys-Syslog
Source0: http://www.cpan.org/authors/id/S/SA/SAPER/%{mod_name}-%{version}.tar.gz
BuildRequires: coreutils, findutils, gcc, glibc-common, make
BuildRequires: perl-interpreter, perl-devel, perl-generators
BuildRequires: perl(Config), perl(ExtUtils::Constant), perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Copy), perl(File::Spec), perl(strict)
BuildRequires: perl(Carp), perl(constant), perl(constant), perl(Fcntl)
BuildRequires: perl(File::Basename), perl(POSIX), perl(Socket), perl(vars)
BuildRequires: perl(warnings), perl(warnings::register), perl(XSLoader)
BuildRequires: perl(FileHandle), perl(Data::Dumper), perl(Test::More)
BuildRequires: perl(Test::NoWarnings), perl(Test::Pod) >= 1.14
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Fcntl), perl(XSLoader)
%description
Sys-Syslog is an interface to the UNIX syslog(3) program.
Call syslog() with a string priority and a list of printf() args
just like syslog(3).
%package_help
%prep
%autosetup -n %{mod_name}-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find $RPM_BUILD_ROOT -type f -name .packlist | xargs rm -f
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 | xargs rm -f
%{_fixperms} %{buildroot}/*
%check
make test
%pre
%preun
%post
%postun
%files
%doc Changes eg README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Sys*
%files help
%{_mandir}/man*/*
%changelog
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 0.36-1
- Package update
* Mon Oct 28 2019 shenyangyang <shenyangyang4@huawei.com> - 0.35-420
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete unneeded build requires of perl(Test::Portability::Files)
and perl(Test::Pod::Coverage)
* Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.35-419
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。