From 4446557191c502e1d35ae331d60d603f3a10c632 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <[email protected]>
Date: Wed, 17 Feb 2016 21:23:31 +0100
Subject: Modernize spec file
---
perl-MooseX-Param.spec | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/perl-MooseX-Param.spec b/perl-MooseX-Param.spec
index 78d952f..a834f1c 100644
--- a/perl-MooseX-Param.spec
+++ b/perl-MooseX-Param.spec
@@ -1,12 +1,12 @@
Name: perl-MooseX-Param
Version: 0.02
-Release: 19%{?dist}
+Release: 20%{?dist}
Summary: Simple role to provide a standard param method
License: GPL+ or Artistic
-Group: Development/Libraries
+
URL: http://search.cpan.org/dist/MooseX-Param/
Source0:
http://www.cpan.org/authors/id/S/ST/STEVAN/MooseX-Param-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildArch: noarch
BuildRequires: perl(Module::Build)
BuildRequires: perl(Moose) >= 0.32
@@ -28,26 +28,22 @@ This is a very simple Moose role which provides a CGI like
param method.
./Build
%install
-rm -rf $RPM_BUILD_ROOT
-
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc ChangeLog README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Moose*
+%{_mandir}/man3/Moose*
%changelog
+* Wed Feb 17 2016 Emmanuel Seyman <[email protected]> - 0.02-20
+- Remove no-longer-user tags and macros
+- Tighten file listing
+
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> -
0.02-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-MooseX-Param.git/commit/?h=master&id=4446557191c502e1d35ae331d60d603f3a10c632
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]