[perl-System-Command] initial import (rhbz#781705)
by Iain Arnell
commit 8cb958ce68e6dd8ced3664e6db3b44fc3cc5cd7c
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Fri Feb 3 06:15:20 2012 +0100
initial import (rhbz#781705)
.gitignore | 1 +
perl-System-Command.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a9c8aa8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/System-Command-1.06.tar.gz
diff --git a/perl-System-Command.spec b/perl-System-Command.spec
new file mode 100644
index 0000000..2671de0
--- /dev/null
+++ b/perl-System-Command.spec
@@ -0,0 +1,46 @@
+Name: perl-System-Command
+Version: 1.06
+Release: 1%{?dist}
+Summary: Object for running system commands
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/System-Command/
+Source0: http://www.cpan.org/authors/id/B/BO/BOOK/System-Command-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Test::Command)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Output)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+System::Command is a class that launches external system commands and
+return an object representing them, allowing to interact with them through
+their STDIN, STDOUT and STDERR handles.
+
+%prep
+%setup -q -n System-Command-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jan 13 2012 Iain Arnell <iarnell(a)gmail.com> 1.06-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..747c923 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+461468487acdbe0317a5729973f91bf2 System-Command-1.06.tar.gz
12 years, 2 months
[Bug 786849] False results for Test::Pod and Test::Pod::Coverage since F17 mass rebuild
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=786849
Paul Howarth <paul(a)city-fan.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |berrange(a)redhat.com,
| |fedora-perl-devel-list@redh
| |at.com,
| |tremble(a)tremble.org.uk
Component|perl-Test-Kwalitee |perl-Module-ExtractUse
AssignedTo|paul(a)city-fan.org |berrange(a)redhat.com
--- Comment #2 from Paul Howarth <paul(a)city-fan.org> 2012-02-02 13:33:55 EST ---
This is due to an incompatible change in Parse::RecDescent that has broken
Module::ExtractUse (https://rt.cpan.org/Public/Bug/Display.html?id=74608).
It can be fixed by recompiling the grammar in %prep:
# Recompile the grammar to work with the new Parse::RecDescent (CPAN RT#74608)
cd lib/Module/ExtractUse
rm Grammar.pm
perl -MParse::RecDescent - grammar Module::ExtractUse::Grammar
cd -
I have verified that this change fixes the build of both perl-Module-ExtractUse
and perl-RT-Client-REST.
I am happy to do this change and build it if the perl-Module-ExtractUse
maintainer is busy.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 2 months
[rt3] New.
by corsepiu
commit 24e4097bfdd45aac61db3674cd26ee9a456050dc
Author: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Thu Feb 2 18:58:23 2012 +0100
New.
rt-3.8.11-shebang.diff | 360 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 360 insertions(+), 0 deletions(-)
---
diff --git a/rt-3.8.11-shebang.diff b/rt-3.8.11-shebang.diff
new file mode 100644
index 0000000..f141c00
--- /dev/null
+++ b/rt-3.8.11-shebang.diff
@@ -0,0 +1,360 @@
+diff -Naur rt-3.8.11-7/t/00-compile.t rt-3.8.11/t/00-compile.t
+--- rt-3.8.11-7/t/00-compile.t 2011-11-08 18:48:47.000000000 +0100
++++ rt-3.8.11/t/00-compile.t 2012-02-02 16:39:24.615355271 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/ace.t rt-3.8.11/t/api/ace.t
+--- rt-3.8.11-7/t/api/ace.t 2012-02-02 16:36:14.887343461 +0100
++++ rt-3.8.11/t/api/ace.t 2012-02-02 16:39:53.189595584 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/action-createtickets.t rt-3.8.11/t/api/action-createtickets.t
+--- rt-3.8.11-7/t/api/action-createtickets.t 2012-02-02 16:36:14.888343479 +0100
++++ rt-3.8.11/t/api/action-createtickets.t 2012-02-02 16:39:53.196595329 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/attachment_filename.t rt-3.8.11/t/api/attachment_filename.t
+--- rt-3.8.11-7/t/api/attachment_filename.t 2012-02-02 16:36:14.889343497 +0100
++++ rt-3.8.11/t/api/attachment_filename.t 2012-02-02 16:39:53.202595140 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use RT::Test tests => 5;
+ use MIME::Entity;
+ my $ticket = RT::Ticket->new($RT::SystemUser);
+diff -Naur rt-3.8.11-7/t/api/attachment.t rt-3.8.11/t/api/attachment.t
+--- rt-3.8.11-7/t/api/attachment.t 2012-02-02 16:36:14.889343497 +0100
++++ rt-3.8.11/t/api/attachment.t 2012-02-02 16:39:53.208595043 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/attribute.t rt-3.8.11/t/api/attribute.t
+--- rt-3.8.11-7/t/api/attribute.t 2012-02-02 16:36:14.890343515 +0100
++++ rt-3.8.11/t/api/attribute.t 2012-02-02 16:39:53.215594971 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/attribute-tests.t rt-3.8.11/t/api/attribute-tests.t
+--- rt-3.8.11-7/t/api/attribute-tests.t 2012-02-02 16:36:14.890343515 +0100
++++ rt-3.8.11/t/api/attribute-tests.t 2012-02-02 16:39:53.221594936 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+ use warnings;
+ use RT;
+diff -Naur rt-3.8.11-7/t/api/condition-ownerchange.t rt-3.8.11/t/api/condition-ownerchange.t
+--- rt-3.8.11-7/t/api/condition-ownerchange.t 2012-02-02 16:36:14.894343584 +0100
++++ rt-3.8.11/t/api/condition-ownerchange.t 2012-02-02 16:39:53.270595471 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/condition-reject.t rt-3.8.11/t/api/condition-reject.t
+--- rt-3.8.11-7/t/api/condition-reject.t 2012-02-02 16:36:14.895343601 +0100
++++ rt-3.8.11/t/api/condition-reject.t 2012-02-02 16:39:53.276595546 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ #
+ # Check that the "On Reject" scrip condition exists and is working
+ #
+diff -Naur rt-3.8.11-7/t/api/currentuser.t rt-3.8.11/t/api/currentuser.t
+--- rt-3.8.11-7/t/api/currentuser.t 2012-02-02 16:36:14.895343601 +0100
++++ rt-3.8.11/t/api/currentuser.t 2012-02-02 16:39:53.282595620 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/customfield.t rt-3.8.11/t/api/customfield.t
+--- rt-3.8.11-7/t/api/customfield.t 2012-02-02 16:36:14.895343601 +0100
++++ rt-3.8.11/t/api/customfield.t 2012-02-02 16:39:53.288595695 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/emailparser.t rt-3.8.11/t/api/emailparser.t
+--- rt-3.8.11-7/t/api/emailparser.t 2012-02-02 16:36:14.897343635 +0100
++++ rt-3.8.11/t/api/emailparser.t 2012-02-02 16:39:53.300595843 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/groups.t rt-3.8.11/t/api/groups.t
+--- rt-3.8.11-7/t/api/groups.t 2012-02-02 16:36:14.898343652 +0100
++++ rt-3.8.11/t/api/groups.t 2012-02-02 16:39:53.307595929 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/group.t rt-3.8.11/t/api/group.t
+--- rt-3.8.11-7/t/api/group.t 2012-02-02 16:36:14.898343652 +0100
++++ rt-3.8.11/t/api/group.t 2012-02-02 16:39:53.313596002 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/i18n.t rt-3.8.11/t/api/i18n.t
+--- rt-3.8.11-7/t/api/i18n.t 2012-02-02 16:36:14.899343670 +0100
++++ rt-3.8.11/t/api/i18n.t 2012-02-02 16:39:53.319596078 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/link.t rt-3.8.11/t/api/link.t
+--- rt-3.8.11-7/t/api/link.t 2012-02-02 16:36:14.899343670 +0100
++++ rt-3.8.11/t/api/link.t 2012-02-02 16:39:53.325596150 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/queue.t rt-3.8.11/t/api/queue.t
+--- rt-3.8.11-7/t/api/queue.t 2012-02-02 16:36:14.900343688 +0100
++++ rt-3.8.11/t/api/queue.t 2012-02-02 16:39:53.338596312 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/record.t rt-3.8.11/t/api/record.t
+--- rt-3.8.11-7/t/api/record.t 2012-02-02 16:36:14.900343688 +0100
++++ rt-3.8.11/t/api/record.t 2012-02-02 16:39:53.344596386 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/reminders.t rt-3.8.11/t/api/reminders.t
+--- rt-3.8.11-7/t/api/reminders.t 2012-02-02 16:36:14.901343706 +0100
++++ rt-3.8.11/t/api/reminders.t 2012-02-02 16:39:53.350596460 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/rt.t rt-3.8.11/t/api/rt.t
+--- rt-3.8.11-7/t/api/rt.t 2012-02-02 16:36:14.902343724 +0100
++++ rt-3.8.11/t/api/rt.t 2012-02-02 16:39:53.368596683 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/scrip.t rt-3.8.11/t/api/scrip.t
+--- rt-3.8.11-7/t/api/scrip.t 2012-02-02 16:36:14.903343741 +0100
++++ rt-3.8.11/t/api/scrip.t 2012-02-02 16:39:53.381596843 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/searchbuilder.t rt-3.8.11/t/api/searchbuilder.t
+--- rt-3.8.11-7/t/api/searchbuilder.t 2012-02-02 16:36:14.903343741 +0100
++++ rt-3.8.11/t/api/searchbuilder.t 2012-02-02 16:39:53.387596916 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/system.t rt-3.8.11/t/api/system.t
+--- rt-3.8.11-7/t/api/system.t 2012-02-02 16:36:14.904343758 +0100
++++ rt-3.8.11/t/api/system.t 2012-02-02 16:39:53.393596992 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/template.t rt-3.8.11/t/api/template.t
+--- rt-3.8.11-7/t/api/template.t 2012-02-02 16:36:14.904343758 +0100
++++ rt-3.8.11/t/api/template.t 2012-02-02 16:39:53.405597140 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/tickets_overlay_sql.t rt-3.8.11/t/api/tickets_overlay_sql.t
+--- rt-3.8.11-7/t/api/tickets_overlay_sql.t 2012-02-02 16:36:14.906343792 +0100
++++ rt-3.8.11/t/api/tickets_overlay_sql.t 2012-02-02 16:39:53.412597225 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use RT;
+ use RT::Test tests => 19;
+diff -Naur rt-3.8.11-7/t/api/tickets.t rt-3.8.11/t/api/tickets.t
+--- rt-3.8.11-7/t/api/tickets.t 2012-02-02 16:36:14.905343775 +0100
++++ rt-3.8.11/t/api/tickets.t 2012-02-02 16:39:53.418597299 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/ticket.t rt-3.8.11/t/api/ticket.t
+--- rt-3.8.11-7/t/api/ticket.t 2012-02-02 16:36:14.905343775 +0100
++++ rt-3.8.11/t/api/ticket.t 2012-02-02 16:39:53.423597362 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/txn_content.t rt-3.8.11/t/api/txn_content.t
+--- rt-3.8.11-7/t/api/txn_content.t 2012-02-02 16:36:14.906343792 +0100
++++ rt-3.8.11/t/api/txn_content.t 2012-02-02 16:39:53.430597447 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use warnings;
+ use strict;
+
+diff -Naur rt-3.8.11-7/t/api/uri-fsck_com_rt.t rt-3.8.11/t/api/uri-fsck_com_rt.t
+--- rt-3.8.11-7/t/api/uri-fsck_com_rt.t 2012-02-02 16:36:14.906343792 +0100
++++ rt-3.8.11/t/api/uri-fsck_com_rt.t 2012-02-02 16:39:53.436597522 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+ use warnings;
+ use RT;
+diff -Naur rt-3.8.11-7/t/api/uri-t.t rt-3.8.11/t/api/uri-t.t
+--- rt-3.8.11-7/t/api/uri-t.t 2012-02-02 16:36:14.906343792 +0100
++++ rt-3.8.11/t/api/uri-t.t 2012-02-02 16:39:53.442597595 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+ use warnings;
+ use RT;
+diff -Naur rt-3.8.11-7/t/api/users.t rt-3.8.11/t/api/users.t
+--- rt-3.8.11-7/t/api/users.t 2012-02-02 16:36:14.908343826 +0100
++++ rt-3.8.11/t/api/users.t 2012-02-02 16:39:53.448597671 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/api/user.t rt-3.8.11/t/api/user.t
+--- rt-3.8.11-7/t/api/user.t 2012-02-02 16:36:14.908343826 +0100
++++ rt-3.8.11/t/api/user.t 2012-02-02 16:39:53.455597755 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/approval/admincc.t rt-3.8.11/t/approval/admincc.t
+--- rt-3.8.11-7/t/approval/admincc.t 2012-02-02 16:36:14.909343843 +0100
++++ rt-3.8.11/t/approval/admincc.t 2012-02-02 16:39:53.461597830 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/approval/basic.t rt-3.8.11/t/approval/basic.t
+--- rt-3.8.11-7/t/approval/basic.t 2012-02-02 16:36:14.910343861 +0100
++++ rt-3.8.11/t/approval/basic.t 2012-02-02 16:39:53.467597905 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/pod.t rt-3.8.11/t/pod.t
+--- rt-3.8.11-7/t/pod.t 2011-11-08 18:48:47.000000000 +0100
++++ rt-3.8.11/t/pod.t 2012-02-02 16:39:24.641355767 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+ use warnings;
+
+diff -Naur rt-3.8.11-7/t/savedsearch.t rt-3.8.11/t/savedsearch.t
+--- rt-3.8.11-7/t/savedsearch.t 2011-11-08 18:48:47.000000000 +0100
++++ rt-3.8.11/t/savedsearch.t 2012-02-02 16:39:24.653355961 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+ use warnings;
+ BEGIN { $ENV{'LANG'} = 'C' }
+diff -Naur rt-3.8.11-7/t/shredder/00load.t rt-3.8.11/t/shredder/00load.t
+--- rt-3.8.11-7/t/shredder/00load.t 2012-02-02 16:36:14.926344139 +0100
++++ rt-3.8.11/t/shredder/00load.t 2012-02-02 16:39:53.603599583 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+ use warnings;
+ use File::Spec;
+diff -Naur rt-3.8.11-7/t/ticket/deferred_owner.t rt-3.8.11/t/ticket/deferred_owner.t
+--- rt-3.8.11-7/t/ticket/deferred_owner.t 2012-02-02 16:36:14.934344278 +0100
++++ rt-3.8.11/t/ticket/deferred_owner.t 2012-02-02 16:39:53.715600967 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/ticket/linking.t rt-3.8.11/t/ticket/linking.t
+--- rt-3.8.11-7/t/ticket/linking.t 2012-02-02 16:36:14.936344312 +0100
++++ rt-3.8.11/t/ticket/linking.t 2012-02-02 16:39:53.721601039 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/ticket/quicksearch.t rt-3.8.11/t/ticket/quicksearch.t
+--- rt-3.8.11-7/t/ticket/quicksearch.t 2012-02-02 16:36:14.937344330 +0100
++++ rt-3.8.11/t/ticket/quicksearch.t 2012-02-02 16:39:53.740601276 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ #!/usr/bin/perl -w
+
+diff -Naur rt-3.8.11-7/t/ticket/scrips_batch.t rt-3.8.11/t/ticket/scrips_batch.t
+--- rt-3.8.11-7/t/ticket/scrips_batch.t 2012-02-02 16:36:14.938344348 +0100
++++ rt-3.8.11/t/ticket/scrips_batch.t 2012-02-02 16:39:53.752601424 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+
+ use strict;
+ use warnings;
+diff -Naur rt-3.8.11-7/t/web/charting.t rt-3.8.11/t/web/charting.t
+--- rt-3.8.11-7/t/web/charting.t 2012-02-02 16:36:14.948344521 +0100
++++ rt-3.8.11/t/web/charting.t 2012-02-02 16:39:53.871602892 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+ use warnings;
+
+diff -Naur rt-3.8.11-7/t/web/path-traversal.t rt-3.8.11/t/web/path-traversal.t
+--- rt-3.8.11-7/t/web/path-traversal.t 2012-02-02 16:36:14.960344729 +0100
++++ rt-3.8.11/t/web/path-traversal.t 2012-02-02 16:39:53.984604288 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+ use warnings;
+
+diff -Naur rt-3.8.11-7/t/web/private-components.t rt-3.8.11/t/web/private-components.t
+--- rt-3.8.11-7/t/web/private-components.t 2012-02-02 16:36:14.960344729 +0100
++++ rt-3.8.11/t/web/private-components.t 2012-02-02 16:39:53.990604361 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+
+ use RT::Test tests => 20;
+diff -Naur rt-3.8.11-7/t/web/richtext-autohandler.t rt-3.8.11/t/web/richtext-autohandler.t
+--- rt-3.8.11-7/t/web/richtext-autohandler.t 2012-02-02 16:36:14.963344783 +0100
++++ rt-3.8.11/t/web/richtext-autohandler.t 2012-02-02 16:39:54.027604818 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ use strict;
+
+ use RT::Test tests => 7;
12 years, 2 months
[rt3] Fix shebangs.
by corsepiu
commit 9e46a6d572ab5fe802cf8e521811476122c4aa06
Author: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Thu Feb 2 06:29:54 2012 +0100
Fix shebangs.
- Make testsuite files executable (enables rpm's perl module dep tracking).
- Build *-tests, iff devel_mode was given.
- Misc. specfile massaging.
rt3.spec | 71 +++++++++++++++++++++++++++++++++++++------------------------
1 files changed, 43 insertions(+), 28 deletions(-)
---
diff --git a/rt3.spec b/rt3.spec
index f4eb88f..03a3ad3 100644
--- a/rt3.spec
+++ b/rt3.spec
@@ -41,7 +41,7 @@
Name: rt3
Version: 3.8.11
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Request tracker 3
Group: Applications/Internet
@@ -54,6 +54,7 @@ Source4: README.fedora.in
Source5: rt3.logrotate.in
Patch0: rt-%{version}-config.diff
+Patch1: rt-%{version}-shebang.diff
Patch2: rt-%{version}-Makefile.diff
Patch3: rt-%{version}-test-dependencies.diff
@@ -160,10 +161,10 @@ BuildRequires: perl(XML::RSS) >= 1.05
BuildRequires: /usr/bin/pod2man
BuildRequires: /usr/sbin/apachectl
-# the original sources carry bundled versions of these
+# the original sources carry bundled versions of these ...
Requires: /usr/share/fonts/google-droid/DroidSansFallback.ttf
Requires: /usr/share/fonts/google-droid/DroidSans.ttf
-
+# ... we use symlinks to the system-wide versions ...
BuildRequires: /usr/share/fonts/google-droid/DroidSansFallback.ttf
BuildRequires: /usr/share/fonts/google-droid/DroidSans.ttf
@@ -222,6 +223,7 @@ RT is an enterprise-grade ticketing system which enables a group of people
to intelligently and efficiently manage tasks, issues, and requests submitted
by a community of users.
+
%package mailgate
Summary: rt3's mailgate utility.
Group: Applications/Internet
@@ -233,29 +235,29 @@ Requires: perl(HTML::FormatText)
%description mailgate
%{summary}
+
+%if %{with devel_mode}
%package tests
Summary: Test suite for package rt3
Group: Development/Debug
Requires: %{name} = %{version}-%{release}
Requires: /usr/bin/prove
Requires(postun): %{__rm}
-Requires: perl(DBD::SQLite)
-Requires: perl(HTML::Mason::Compiler)
-Requires: perl(HTML::Mason::Compiler::ToObject)
-Requires: perl(GnuPG::Interface)
-Requires: perl(PerlIO::eol)
-Requires: perl(RT::Test)
-Requires: perl(String::ShellQuote)
-Requires: perl(Test::HTTP::Server::Simple::StashWarnings)
-Requires: perl(Test::Deep)
-Requires: perl(Test::Expect)
-Requires: perl(Test::MockTime)
-Requires: perl(Test::Warn)
+Requires: perl(DBD::SQLite)
+Requires: perl(GnuPG::Interface)
+Requires: perl(PerlIO::eol)
+Requires: perl(strict)
+Requires: perl(Test::HTTP::Server::Simple::StashWarnings)
%description tests
%{summary}
-%if %{with devel_mode}
+%postun tests
+if [ $1 -eq 0 ]; then
+ %{__rm} -rf %{perl_testdir}/%{name}
+fi
+
+
%package -n perl-RT-Test
Summary: rt3's test utility module
Group: Applications/Internet
@@ -265,7 +267,8 @@ Requires: perl(Log::Dispatch::Perl)
%description -n perl-RT-Test
%{summary}
-%endif
+
+%endif # devel_mode
%prep
%setup -q -n rt-%{version}
@@ -286,6 +289,7 @@ rm -rf autom4te.cache config.log config.status
find bin sbin etc -name '*.in' | while read a; do d=$(echo "$a" | sed 's,\.in$,,'); rm "$d"; done
%patch0 -p1
+%patch1 -p1
%patch2 -p1
%patch3 -p1
@@ -322,6 +326,15 @@ sed -i \
-e 's,-o $(BIN_OWNER) -g $(RTGROUP),,g' \
Makefile.in
+# Fix up broken shebangs
+sed -i \
+ -e "s,^#!/usr/bin/env perl,#!%{__perl}," \
+ -e "s,^#!/opt/perl/bin/perl,#!%{__perl}," \
+t/*/*.t sbin/rt-message-catalog t/shredder/utils.pl
+
+# Make scripts executable
+find t \( -name '*.t' -o -name '*.pl' \) -exec chmod +x {} \;
+
%build
%configure \
--with-apachectl=/usr/sbin/apachectl \
@@ -368,8 +381,8 @@ sed -e 's,@RT3_WWWDIR@,%{RT3_WWWDIR},g' \
%{SOURCE3} > ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/rt3.conf
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
-install -m 0644 bin/rt-mailgate.1 bin/mason_handler.fcgi.1 \
- ${RPM_BUILD_ROOT}%{_mandir}/man1
+install -m 0644 bin/rt-mailgate.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
+install -m 0644 bin/mason_handler.fcgi.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
if [ "%{_bindir}" != "%{RT3_BINDIR}" ]; then
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
@@ -406,7 +419,7 @@ cp %{SOURCE1} ${RPM_BUILD_ROOT}%{perl_testdir}/%{name}
# pod.t can't be run outside of the source-tree
rm -rf ${RPM_BUILD_ROOT}%{perl_testdir}/%{name}/t/pod.t
-# Some of tests want t/../share/html
+# Some of the tests want t/../share/html
install -d -m755 ${RPM_BUILD_ROOT}%{perl_testdir}/%{name}/share
ln -s %{RT3_WWWDIR} ${RPM_BUILD_ROOT}%{perl_testdir}/%{name}/share/html
@@ -415,9 +428,9 @@ find ${RPM_BUILD_ROOT}%{RT3_WWWDIR} \
-type f -exec chmod a-x {} \;
%check
-# The tests don't work:
-# - Require to be run as root
-# - Require an operational rt3 system
+# The tests don't work in buildroots, they
+# - require to be run as root
+# - require an operational rt3 system
%{?with_runtests:make test}
%postun
@@ -425,10 +438,6 @@ if [ $1 -eq 0 ]; then
%{__rm} -rf %{RT3_CACHEDIR}
fi
-%postun tests
-if [ $1 -eq 0 ]; then
- %{__rm} -rf %{perl_testdir}/%{name}
-fi
%files
%defattr(-,root,root,-)
@@ -474,11 +483,11 @@ fi
%{_sbindir}/rt-mailgate
%{_mandir}/man1/rt-mailgate*
+%if %{with devel_mode}
%files tests
%defattr(-,root,root,-)
%{perl_testdir}/%{name}
-%if %{with devel_mode}
%files -n perl-RT-Test
%defattr(-,root,root,-)
%dir %{RT3_LIBDIR}/RT
@@ -486,6 +495,12 @@ fi
%endif
%changelog
+* Tue Feb 02 2012 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 3.8.11-7
+- Fix shebangs.
+- Make testsuite files executable (enables rpm's perl module dep tracking).
+- Build *-tests, iff devel_mode was given.
+- Misc. specfile massaging.
+
* Tue Jan 31 2012 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 3.8.11-6
- Misc. specfile improvements.
12 years, 2 months
[rt3] Fix typo.
by corsepiu
commit e3c498c4752f264025acac84a6444c4ce4162ce6
Author: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Thu Feb 2 05:21:52 2012 +0100
Fix typo.
README.tests | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/README.tests b/README.tests
index 78b6c76..e8e633d 100644
--- a/README.tests
+++ b/README.tests
@@ -7,5 +7,6 @@ Notes:
- Some of these tests were not designed to work outside of rt3's source
tree and do not work when being used as a separate test package.
- Some of these tests are quite "chatty".
-- Failing tests my leave stray files on the filesystem, which will not be
+- Failing tests may leave stray files on the filesystem, which will not be
automatically deinstalled upon package deinstallation.
+- Some tests fail for (yet) undetermined reasons.
12 years, 2 months
[perl-Devel-CallChecker] 0.004 bump
by Petr Pisar
commit ed01497d5177e9e58d1492aeecb491a660f10ea0
Author: Petr Písař <ppisar(a)redhat.com>
Date: Thu Feb 2 16:23:28 2012 +0100
0.004 bump
.gitignore | 1 +
.rpmlint | 2 ++
perl-Devel-CallChecker.spec | 7 +++++--
sources | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d625709..58267d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Devel-CallChecker-0.003.tar.gz
+/Devel-CallChecker-0.004.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..87c8e1a
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* cv");
diff --git a/perl-Devel-CallChecker.spec b/perl-Devel-CallChecker.spec
index 3e87a42..d0e0bd0 100644
--- a/perl-Devel-CallChecker.spec
+++ b/perl-Devel-CallChecker.spec
@@ -1,7 +1,7 @@
# This file is licensed under the terms of GNU GPLv2+.
Name: perl-Devel-CallChecker
-Version: 0.003
-Release: 3%{?dist}
+Version: 0.004
+Release: 1%{?dist}
Summary: Custom op checking attached to subroutines
License: GPL+ or Artistic
Group: Development/Libraries
@@ -64,6 +64,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_mandir}/man3/*
%changelog
+* Thu Feb 02 2012 Petr Pisar <ppisar(a)redhat.com> - 0.004-1
+- 0.004 bump
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.003-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 61ca847..cf25cc5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-949d20ecefdab1cc7965efd6896e2b90 Devel-CallChecker-0.003.tar.gz
+18d9aca107d6852b2597efc897fb3577 Devel-CallChecker-0.004.tar.gz
12 years, 2 months