!6 perl-File-Temp delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-08-11 09:31:12 +00:00 committed by Gitee
commit 57f7738d9c

View File

@ -3,13 +3,13 @@
Name: perl-File-Temp Name: perl-File-Temp
Epoch: 1 Epoch: 1
Version: 0.2311 Version: 0.2311
Release: 1 Release: 2
Summary: Return name and handle of a temporary file safely Summary: Return name and handle of a temporary file safely
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/File-Temp URL: https://metacpan.org/release/File-Temp
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: coreutils make git perl(POSIX) perl(strict) perl(warnings) perl(Carp) perl(constant) BuildRequires: coreutils make perl(POSIX) perl(strict) perl(warnings) perl(Carp) perl(constant)
BuildRequires: perl-generators perl-interpreter perl(Scalar::Util) perl(FileHandle) perl(Test::More) BuildRequires: perl-generators perl-interpreter perl(Scalar::Util) perl(FileHandle) perl(Test::More)
BuildRequires: perl(Cwd) perl(Errno) perl(IO::Handle) perl(IO::Seekable) perl(overload) perl(Config) BuildRequires: perl(Cwd) perl(Errno) perl(IO::Handle) perl(IO::Seekable) perl(overload) perl(Config)
BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(:VERSION) >= 5.6
@ -62,7 +62,7 @@ Requires: man
This package includes man files for File::Temp This package includes man files for File::Temp
%prep %prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1 -Sgit %autosetup -n %{cpan_name}-%{cpan_version} -p1
chmod -x misc/benchmark.pl chmod -x misc/benchmark.pl
perl -MConfig -p -i -e 's|\A#!/usr/local/bin/perl\b|$Config{startperl}|' \ perl -MConfig -p -i -e 's|\A#!/usr/local/bin/perl\b|$Config{startperl}|' \
misc/benchmark.pl misc/benchmark.pl
@ -87,6 +87,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.2311-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Feb 03 2021 yuanxin <yuanxin24@huawei.com> - 1:0.2311-1 * Wed Feb 03 2021 yuanxin <yuanxin24@huawei.com> - 1:0.2311-1
- Upgrade to version 0.2311 - Upgrade to version 0.2311