summaryrefslogtreecommitdiffstats
path: root/perl-MooX-Log-Any.spec
diff options
context:
space:
mode:
authorTim Orling <TicoTimo@gmail.com>2015-07-21 07:50:46 -0700
committerTim Orling <TicoTimo@gmail.com>2015-07-21 07:50:46 -0700
commit44d69d796bd78f20ec0baa5f4efa107e5b27a71c (patch)
tree64e8cd6bb19f27e76a45fe7fc338245e97f6445f /perl-MooX-Log-Any.spec
parentcc198943c85ec369e415a83ad784deb0e8582ed0 (diff)
downloadperl-MooX-Log-Any-44d69d796bd78f20ec0baa5f4efa107e5b27a71c.tar.gz
perl-MooX-Log-Any-44d69d796bd78f20ec0baa5f4efa107e5b27a71c.tar.xz
perl-MooX-Log-Any-44d69d796bd78f20ec0baa5f4efa107e5b27a71c.zip
Update to 0.004002; clean up spec file (#1242726)HEADmaster
Diffstat (limited to 'perl-MooX-Log-Any.spec')
-rw-r--r--perl-MooX-Log-Any.spec36
1 files changed, 18 insertions, 18 deletions
diff --git a/perl-MooX-Log-Any.spec b/perl-MooX-Log-Any.spec
index 7a1aefd..ccd7fc1 100644
--- a/perl-MooX-Log-Any.spec
+++ b/perl-MooX-Log-Any.spec
@@ -1,24 +1,25 @@
Name: perl-MooX-Log-Any
-Version: 0.004001
+Version: 0.004002
Release: 1%{?dist}
-Summary: Role to add Log::Any
+Summary: A Moose role to add support for logging via Log::Any
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MooX-Log-Any/
Source0: http://www.cpan.org/authors/id/C/CA/CAZADOR/MooX-Log-Any-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl >= 0:5.006
+BuildRequires: make
+BuildRequires: findutils
+BuildRequires: coreutils
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time:
BuildRequires: perl(Log::Any)
-BuildRequires: perl(Log::Any::Adapter)
BuildRequires: perl(Log::Any::Test)
BuildRequires: perl(Moo)
BuildRequires: perl(Moo::Role)
BuildRequires: perl(Test::More)
-Requires: perl(Log::Any)
-Requires: perl(Log::Any::Adapter)
-Requires: perl(Moo::Role)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -35,27 +36,26 @@ happen, just like with Log::Any
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
-%doc Changes dist.ini LICENSE META.json README README.md weaver.ini
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
-* Thu Apr 02 2015 Tim Orling 0.004001-1
+* Tue Jul 21 2015 Tim Orling <ticotimo@gmail.com> - 0.004002-1
+- Update to 0.004002
+- Cleanup spec file per review (#1242726)
+
+* Thu Apr 02 2015 Tim Orling <ticotimo@gmail.com> - 0.004001-1
- Specfile autogenerated by cpanspec 1.78.