diff --git a/perl-Net-Daemon.spec b/perl-Net-Daemon.spec index cf5f2d1..b708c41 100644 --- a/perl-Net-Daemon.spec +++ b/perl-Net-Daemon.spec @@ -1,11 +1,12 @@ -Name: perl-Net-Daemon +%define mod_name Net-Daemon +Name: perl-%{mod_name} Epoch: 1 Version: 0.49 -Release: 1 +Release: 2 Summary: Perl extension for portable daemons License: GPL+ or Artistic -URL: https://metacpan.org/release/Net-Daemon -Source0: https://cpan.metacpan.org/authors/id/M/MN/MNOONING/Net-Daemon-%{version}.tar.gz +URL: https://metacpan.org/release/%{mod_name} +Source0: https://cpan.metacpan.org/authors/id/M/MN/MNOONING/%{mod_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl perl-generators Requires: perl @@ -29,7 +30,7 @@ BuildArch: noarch This package provide %{summary}. %prep -%setup -q -n Net-Daemon-%{version} +%setup -q -n %{mod_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 @@ -52,6 +53,9 @@ make test %changelog +* Tue Oct 25 2022 zhoushuiqing - 1:0.49-2 +- define mod_name to opitomize the specfile + * Sat Nov 20 2021 shangyibin - 1:0.49-1 - update version to 0.49