[perl-Test-SharedFork: 1/2] re-add macros. -tests sub-package was missing during update

Ralf Corsepius rc040203 at freenet.de
Mon Jan 10 09:15:33 UTC 2011


On 01/10/2011 09:47 AM, Marcela Mašláňová wrote:
> commit 7ea2316fcdfe97222125cfde576de4fd28265ac8
> Author: Marcela Mašláňová<mmaslano at redhat.com>
> Date:   Mon Jan 10 09:45:39 2011 +0100
>
>      re-add macros. -tests sub-package was missing during update
>
>   perl-Test-SharedFork.spec |    8 +++++++-
>   1 files changed, 7 insertions(+), 1 deletions(-)
> ---
> diff --git a/perl-Test-SharedFork.spec b/perl-Test-SharedFork.spec
> index f16d750..88af882 100644
> --- a/perl-Test-SharedFork.spec
> +++ b/perl-Test-SharedFork.spec
> @@ -1,7 +1,7 @@
>   Name:           perl-Test-SharedFork
>   Summary:        Fork test
>   Version:        0.15
> -Release:        1%{?dist}
> +Release:        2%{?dist}
>   License:        GPL+ or Artistic
>   Group:          Development/Libraries
>   Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-SharedFork-%{version}.tar.gz
> @@ -13,6 +13,9 @@ BuildArch:      noarch
>   BuildRequires:  perl(ExtUtils::MakeMaker)>= 6.42
>   BuildRequires:  perl(Test::More)>= 0.88
>
> +%{?perl_default_filter}
> +%{?perl_default_subpackage_tests}
> +
>   %description
>   Test::SharedFork is utility module for Test::Builder. It manages testing
>   by keeping the test count consistent between parent and child processes.
> @@ -47,6 +50,9 @@ rm -rf %{buildroot}
>   %{_mandir}/man3/*.3*
>
>   %changelog
> +* Mon Jan 10 2011 Marcela Mašláňová<mmaslano at redhat.com>  - 0.15-2
> +- re-add macros. -tests sub-package was missing during update

Instead of doing this - and thus continuing to pollute Fedora with 
package bloat - you should better should have Obsoleted the *tests packages.

It's what I will be doing in all of my packages from now on (Such as 
this one).

Ralf




More information about the perl-devel mailing list