summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--perl-MooX-Log-Any.spec36
-rw-r--r--sources2
3 files changed, 20 insertions, 20 deletions
diff --git a/.gitignore b/.gitignore
index 7a40587..12cf6d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-MooX-Log-Any-0.004001.tar.gz
+MooX-Log-Any-0.004002.tar.gz
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.
diff --git a/sources b/sources
index fa46b5b..7db2a2c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1ddc37b11f350684b144253e00a68680d859e93d MooX-Log-Any-0.004001.tar.gz
+e81bdf49f84f30cbd29be8251f423fadc1798405 MooX-Log-Any-0.004002.tar.gz