1 |
%define upstream_name Test-WWW-Mechanize-Mojo |
%define upstream_name Test-WWW-Mechanize-Mojo |
2 |
%define upstream_version v0.0.16 |
%define upstream_version v0.0.17 |
3 |
|
|
4 |
|
%{?perl_default_filter} |
5 |
|
|
6 |
Name: perl-%{upstream_name} |
Name: perl-%{upstream_name} |
7 |
Version: %perl_convert_version %{upstream_version} |
Version: %perl_convert_version %{upstream_version} |
8 |
Release: %mkrel 5 |
Release: %mkrel 1 |
9 |
|
|
10 |
Summary: Test::WWW::Mechanize for Mojo / Mojolicious |
Summary: Test::WWW::Mechanize for Mojo / Mojolicious |
11 |
License: GPL+ or Artistic |
License: GPL+ or Artistic |
52 |
%setup -q -n %{upstream_name}-%{upstream_version} |
%setup -q -n %{upstream_name}-%{upstream_version} |
53 |
|
|
54 |
%build |
%build |
55 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
%__perl Makefile.PL INSTALLDIRS=vendor |
56 |
|
|
57 |
%make |
%make |
58 |
|
|
60 |
%make test |
%make test |
61 |
|
|
62 |
%install |
%install |
63 |
%makeinstall_std |
%make_install |
64 |
|
|
65 |
%files |
%files |
66 |
%doc Changes LICENSE META.json META.yml MYMETA.yml README |
%doc Changes LICENSE META.json META.yml MYMETA.yml README |
67 |
%{_mandir}/man3/* |
%{_mandir}/man3/* |
|
%perl_vendorlib/* |
|
68 |
|
%{perl_vendorlib}/* |