ppisar pushed to perl-Test-Run-CmdLine (master). "Sub-package examples"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon May 11 08:10:35 UTC 2015
From 5b39d745332c01a7d8f235a5cf20acd231c4f49f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Mon, 11 May 2015 10:05:38 +0200
Subject: Sub-package examples
diff --git a/perl-Test-Run-CmdLine.spec b/perl-Test-Run-CmdLine.spec
index e2be59e..c9a20dd 100644
--- a/perl-Test-Run-CmdLine.spec
+++ b/perl-Test-Run-CmdLine.spec
@@ -4,8 +4,9 @@ Release: 1%{?dist}
Summary: Run TAP tests from command line using the Test::Run module
# lib and other code: MIT
# bin/runprove: GPL+ or Artistic
+## sub-packaged:
# examples: BSD
-License: (GPL+ or Artistic) and MIT and BSD
+License: (GPL+ or Artistic) and MIT
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Run-CmdLine/
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Test-Run-CmdLine-%{version}.tar.gz
@@ -60,6 +61,18 @@ These Perl modules allow one to run TAP tests and analyze them from the
command line using the Test::Run module. It provides runprove tool with
command line facilities similar to Test::Harness' prove tool.
+%package examples
+Summary: Examples for Test::Run::CmdLine Perl module
+# lib and other code: MIT
+# bin/runprove: GPL+ or Artistic
+# examples: BSD
+License: BSD
+Group: Documentation
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description examples
+BSD-licensed and quite large examples for %{name} package.
+
%prep
%setup -q -n Test-Run-CmdLine-%{version}
find lib -type f -exec chmod 0644 {} +
@@ -84,12 +97,15 @@ perl Build.PL installdirs=vendor
%files
%license LICENSE
-%doc Changes docs examples README
+%doc Changes docs README
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
+%files examples
+%doc examples
+
%changelog
* Fri Feb 27 2015 Petr Pisar <ppisar at redhat.com> 0.0126-1
- Specfile autogenerated by cpanspec 1.78.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Test-Run-CmdLine.git/commit/?h=master&id=5b39d745332c01a7d8f235a5cf20acd231c4f49f
More information about the scm-commits
mailing list