!2 添加mod_name宏

From: @hongjinghao 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2022-10-24 09:20:03 +00:00 committed by Gitee
commit a00bdca322
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,10 +1,12 @@
Name: perl-TermReadKey %define mod_name TermReadKey
Name: perl-%{mod_name}
Version: 2.38 Version: 2.38
Release: 2 Release: 2
Summary: A perl module for simple terminal control Summary: A perl module for simple terminal control
License: (Copyright only) and (Artistic or GPL+) License: (Copyright only) and (Artistic or GPL+)
URL: https://metacpan.org/release/TermReadKey URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/%{mod_name}-%{version}.tar.gz
# Build # Build
BuildRequires: coreutils, findutils, gcc, make BuildRequires: coreutils, findutils, gcc, make
BuildRequires: perl-devel BuildRequires: perl-devel