ppisar pushed to perl-Padre (master). "Perl 5.22 rebuild"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Jun 18 15:57:39 UTC 2015
From 77bcba5861262fc11f28b48eab5f5104a2a1ecd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Thu, 18 Jun 2015 07:03:49 +0200
Subject: Perl 5.22 rebuild
diff --git a/perl-Padre.spec b/perl-Padre.spec
index f03ac7c..4b2f872 100644
--- a/perl-Padre.spec
+++ b/perl-Padre.spec
@@ -2,7 +2,7 @@
Name: perl-Padre
Version: 0.90
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Perl Application Development and Refactoring Environment
License: GPL+ or Artistic
Group: Development/Libraries
@@ -17,8 +17,12 @@ Patch1: Padre-0.90-No-exit-in-Pod-Perldoc.patch
# intentional warning on perl 5.20, in Padre-1.02, bug #1141153
Patch2: Padre-0.90-Disable-Test-NoWarnings-t-01-load.t-tests.patch
BuildArch: noarch
-BuildRequires: gettext
+BuildRequires: coreutils
BuildRequires: desktop-file-utils
+BuildRequires: findutils
+BuildRequires: gettext
+BuildRequires: make
+BuildRequires: perl
BuildRequires: perl(Alien::wxWidgets) >= 0.46
# perl(Capture::Tiny) at lib/Padre/Wx/Command.pm:160, version from META.yml
BuildRequires: perl(Capture::Tiny) >= 0.06
@@ -250,7 +254,7 @@ Requires: perl(Wx::Perl::ProcessStream) >= 0.29
Requires: perl(YAML::Tiny) >= 1.32
Requires: perl(threads) >= 1.71
Requires: perl(version) >= 0.80
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Obsoletes: perl-Wx-Perl-Dialog < 0.01
Provides: perl-Wx-Perl-Dialog > 0.01
Provides: padre = %{version}
@@ -316,14 +320,12 @@ find share/{examples,templates} -type f \( -name '*.pl' -o -name '*.t' \) \
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
-
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# languages are in different format than %%find_lang expects
find ${RPM_BUILD_ROOT}%{perl_vendorlib}/auto/share/dist/Padre/locale/ \
@@ -362,7 +364,8 @@ mkdir "$HOME"
%files -f %{name}.lang
-%doc Artistic Changes COPYING LICENSE padre.yml README
+%license Artistic COPYING LICENSE
+%doc Changes padre.yml README
# To omit %%{perl_vendorlib}/auto/share/dist/Padre/locale/* pulled by -f option
%dir %{perl_vendorlib}/auto
%dir %{perl_vendorlib}/auto/share
@@ -391,6 +394,10 @@ mkdir "$HOME"
%changelog
+* Thu Jun 18 2015 Petr Pisar <ppisar at redhat.com> - 0.90-16
+- Perl 5.22 rebuild
+- Modernize spec file
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.90-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Padre.git/commit/?h=master&id=77bcba5861262fc11f28b48eab5f5104a2a1ecd0
More information about the perl-devel
mailing list