add mod_name macro
This commit is contained in:
parent
34951ba4c3
commit
5c98ac7493
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user