[perl-Log-Report-Optional] Import

Petr Pisar ppisar at fedoraproject.org
Mon Feb 3 15:45:02 UTC 2014


commit 149f5457e3861b299446f18f7efd4abda9fc7ff0
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Feb 3 16:45:18 2014 +0100

    Import

 .gitignore                    |    1 +
 perl-Log-Report-Optional.spec |   60 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..45b58ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Log-Report-Optional-1.00.tar.gz
diff --git a/perl-Log-Report-Optional.spec b/perl-Log-Report-Optional.spec
new file mode 100644
index 0000000..bd534cc
--- /dev/null
+++ b/perl-Log-Report-Optional.spec
@@ -0,0 +1,60 @@
+Name:           perl-Log-Report-Optional
+Version:        1.00
+Release:        1%{?dist}
+Summary:        Base class for large Log::Report and simple Log::Report::Minimal
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Log-Report-Optional/
+Source0:        http://www.cpan.org/authors/id/M/MA/MARKOV/Log-Report-Optional-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(String::Print) >= 0.13
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Test::More) >= 0.86
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(String::Print) >= 0.13
+# This package is a sprout of perl-Log-Report. It replaces part of
+# perl-Log-Report-0.998 and it's required by perl-Log-Report >= 1.01.
+Conflicts:      perl-Log-Report < 0.999
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(String::Print\\)$
+
+%description
+This module will allow libraries (helper modules) to have a dependency to a
+small module instead of the full Log-Report distribution. The full power of
+Log::Report is only released when the main program uses that module. In
+that case, the module using the 'Optional' will also use the full
+Log::Report, otherwise the dressed-down Log::Report::Minimal version.
+
+%prep
+%setup -q -n Log-Report-Optional-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc ChangeLog README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jan 31 2014 Petr Pisar <ppisar at redhat.com> 1.00-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..aa589fd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+19ac502fd361dac0fceab7cb9d1e7dbe  Log-Report-Optional-1.00.tar.gz



More information about the perl-devel mailing list