From e94aec06bdcfd81bec9164aefc3a9b5567511850 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 23 May 2017 17:23:03 +0200
Subject: Modernize spec file

---
 perl-Coro.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/perl-Coro.spec b/perl-Coro.spec
index 12ea882..8751f62 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -5,7 +5,6 @@ Summary:        The only real threads in perl
 # Coro/libcoro:    GPLv2 or BSD
 # Rest of package: GPL+ or Artistic
 License:        (GPL+ or Artistic) and (GPLv2 or BSD)
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Coro/
 Source0:        
http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Coro-%{version}.tar.gz
 Patch0:         %{name}-5.25-ucontext-default.patch
@@ -30,7 +29,7 @@ BuildRequires:  perl(EV) >= 4
 BuildRequires:  perl(EV::MakeMaker)
 BuildRequires:  perl(Event) >= 1.08
 BuildRequires:  perl(Event::MakeMaker)
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.52
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(strict)
 BuildRequires:  sed
 # Run-time:
@@ -150,12 +149,11 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wp,-U_FORTIFY_SOURCE 
-Wp,-D_FORTIFY_SOURCE=0"
 %endif
 
 # Interractive configuration. Use default values.
-perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS" </dev/null
+perl Makefile.PL INSTALLDIRS=perl NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" 
</dev/null
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -delete
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
 %{_fixperms} $RPM_BUILD_ROOT/*
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Coro.git/commit/?h=master&id=e94aec06bdcfd81bec9164aefc3a9b5567511850
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to