1 Star 0 Fork 10

hongjinghao/perl-Time-HiRes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Time-HiRes.spec 2.36 KB
一键复制 编辑 原始数据 按行查看 历史
hongjinghao 提交于 2024-01-18 16:46 . upgrade version to 1.9775
%global base_version 1.9764
%define mod_name Time-HiRes
Name: perl-%{mod_name}
Epoch: 4
Version: 1.9775
Release: 1
Summary: High resolution time, sleep, and alarm for perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{mod_name}-%{base_version}.tar.gz
Patch6000: backport-Time-HiRes-1.9764-Upgrade-to-1.9775.patch
BuildRequires: findutils gcc make perl-devel perl-generators perl-interpreter perl(Config)
BuildRequires: perl(ExtUtils::Constant) perl(ExtUtils::MakeMaker) >= 6.76 perl(File::Spec) perl(strict)
BuildRequires: perl(Carp) perl(Exporter) perl(XSLoader)
BuildRequires: perl(File::Temp) perl(Test::More) perl(POSIX)
Requires: perl(Carp) perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Implement usleep, ualarm, and gettimeofday for Perl, as well as wrappers
to implement time, sleep, and alarm that know about non-integral seconds.
%package_help
%prep
%autosetup -n %{mod_name}-%{base_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%pre
%preun
%post
%postun
%files
%doc Changes README TODO
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Time*
%files help
%{_mandir}/man3/*
%changelog
* Thu Jan 18 2024 hongjinghao <hongjinghao@huawei.com> - 4:1.9775-1
- upgrade version to 1.9775
* Mon Oct 24 2022 hongjinghao <hongjinghao@huawei.com> 4:1.9767-3
- add mod_name marco
* Mon Apr 18 2022 liudabo <liudabo1@h-partners.com> 4:1.9767-2
- Modify Epoch to ensure upgrade continuity
* Sun Dec 26 2021 yuanxin <yuanxin24@huawei.com> - 1:1.9767-1
- update version to 1.9767
* Fri Jan 29 2021 liudabo <liudabo1@huawei.com> - 1:1.9764-1
- upgrade version to 1.9764
* Fri Sep 4 2020 shixuantong<shixuantong@huawei.com> - 1:1.9760-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update Source0
* Fri May 22 2020 shenyangyang<shenyangyang4@huawei.com> - 1:1.9760-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add Epoch for updating
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 1.9760-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix spec rule in openeuler
* Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9760-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hongjinghao/perl-Time-HiRes.git
git@gitee.com:hongjinghao/perl-Time-HiRes.git
hongjinghao
perl-Time-HiRes
perl-Time-HiRes
master

搜索帮助