From 2a59e8a710ee90fa77acfd227218160924946527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 20 Jun 2014 10:22:40 +0200 Subject: [PATCH] Sub-package perl-App-s2p --- .rpmlint | 2 +- perl.spec | 28 +++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/.rpmlint b/.rpmlint index 9d75828..61ba3e4 100644 --- a/.rpmlint +++ b/.rpmlint @@ -1,2 +1,2 @@ from Config import * -addFilter("spelling-error .* groff"); +addFilter("spelling-error .* (awk|groff|sed)"); diff --git a/perl.spec b/perl.spec index 62e3f3b..d932a0c 100644 --- a/perl.spec +++ b/perl.spec @@ -312,6 +312,19 @@ This package delivers find2perl tool which is a little translator to convert find command lines to equivalent Perl code. +%package App-s2p +Summary: Convert sed script to Perl program +Group: Development/Tools +License: GPL+ or Artistic +Epoch: 0 +Version: 1.000 +BuildArch: noarch +Conflicts: perl < 4:5.18.2-300 + +%description App-s2p +This package delivers s2p tool which converts sed scripts to Perl programs. + + %if %{dual_life} || %{rebuild_from_scratch} %package Archive-Extract Summary: Generic archive extracting mechanism @@ -1880,7 +1893,7 @@ Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release} Requires: perl-devel = %{perl_epoch}:%{perl_version}-%{release} Requires: perl-macros -Requires: perl-App-a2p, perl-App-find2perl +Requires: perl-App-a2p, perl-App-find2perl, perl-App-s2p Requires: perl-Archive-Extract, perl-Archive-Tar, perl-autodie Requires: perl-B-Lint, perl-Compress-Raw-Bzip2, Requires: perl-Carp, perl-Compress-Raw-Zlib, perl-CGI, perl-constant, @@ -2266,6 +2279,12 @@ sed \ %exclude %{_bindir}/find2perl %exclude %{_mandir}/man1/find2perl.1* +# App-s2p +%exclude %{_bindir}/psed +%exclude %{_bindir}/s2p +%exclude %{_mandir}/man1/psed.1* +%exclude %{_mandir}/man1/s2p.1* + # Archive-Extract %exclude %{privlib}/Archive/Extract.pm %exclude %{_mandir}/man3/Archive::Extract.3* @@ -2895,6 +2914,12 @@ sed \ %{_bindir}/find2perl %{_mandir}/man1/find2perl.1* +%files App-s2p +%{_bindir}/psed +%{_bindir}/s2p +%{_mandir}/man1/psed.1* +%{_mandir}/man1/s2p.1* + %if %{dual_life} || %{rebuild_from_scratch} %files Archive-Extract %{privlib}/Archive/Extract.pm @@ -3666,6 +3691,7 @@ sed \ * Thu Jun 19 2014 Petr Pisar - 4:5.18.2-300 - Sub-package perl-App-find2perl (bug #1111196) - Sub-package perl-App-a2p (bug #1111232) +- Sub-package perl-App-s2p (bug #1111242) * Sat Jun 07 2014 Fedora Release Engineering - 4:5.18.2-299 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild