From 21f19229a9b3809f4a3b89c8bf5fb33ecc860c15 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Nov 24 2015 10:08:33 +0000 Subject: 0.20 bump --- diff --git a/.gitignore b/.gitignore index 55f48eb..aefd59d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ File-DesktopEntry-0.04.tar.gz /File-DesktopEntry-0.10.tar.gz /File-DesktopEntry-0.11.tar.gz /File-DesktopEntry-0.12.tar.gz +/File-DesktopEntry-0.20.tar.gz diff --git a/File-DesktopEntry-encode.patch b/File-DesktopEntry-encode.patch deleted file mode 100644 index 6fd2df4..0000000 --- a/File-DesktopEntry-encode.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up File-DesktopEntry-0.08/lib/File/DesktopEntry.pm.orig File-DesktopEntry-0.08/lib/File/DesktopEntry.pm ---- File-DesktopEntry-0.08/lib/File/DesktopEntry.pm.orig 2013-10-07 21:21:51.000000000 +0200 -+++ File-DesktopEntry-0.08/lib/File/DesktopEntry.pm 2013-10-08 07:53:05.869360349 +0200 -@@ -5,6 +5,7 @@ use warnings; - - use vars qw/$AUTOLOAD/; - use Carp; -+use Encode; - use File::Spec; - use File::BaseDir 0.03 qw/data_files data_home/; - -@@ -335,6 +336,7 @@ sub parse_Exec { - push @exec, '--icon', $icon if defined($icon); - } - else { # expand with word ( e.g. --input=%f ) -+ $_ = encode_utf8($_); - my $bad; - s/\%(.)/ - ($1 eq '%') ? '%' : diff --git a/perl-File-DesktopEntry.spec b/perl-File-DesktopEntry.spec index 1cabb3b..69fad55 100644 --- a/perl-File-DesktopEntry.spec +++ b/perl-File-DesktopEntry.spec @@ -1,14 +1,14 @@ Name: perl-File-DesktopEntry -Version: 0.12 +Version: 0.20 Release: 1%{?dist} Summary: Object to handle .desktop files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-DesktopEntry/ Source0: http://www.cpan.org/authors/id/M/MI/MICHIELB/File-DesktopEntry-%{version}.tar.gz -#http://rt.cpan.org/Public/Bug/Display.html?id=76843 -Patch0: File-DesktopEntry-encode.patch BuildArch: noarch +BuildRequires: findutils +BuildRequires: make BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) @@ -20,9 +20,11 @@ BuildRequires: perl(Encode) BuildRequires: perl(File::BaseDir) >= 0.03 BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) +BuildRequires: perl(URI::Escape) BuildRequires: perl(vars) # Tests: BuildRequires: perl(Test::More) +BuildRequires: perl(utf8) # Optional tests BuildRequires: perl(Test::CPAN::Changes) BuildRequires: perl(Test::Pod) >= 1.00 @@ -40,7 +42,6 @@ these files. For this module version 1.0 of the specification was used. %prep %setup -q -n File-DesktopEntry-%{version} -%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor @@ -48,7 +49,7 @@ 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 -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -60,6 +61,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Nov 24 2015 Jitka Plesnikova - 0.20-1 +- 0.20 bump + * Mon Jun 22 2015 Jitka Plesnikova - 0.12-1 - 0.12 bump diff --git a/sources b/sources index 2e897b1..b146884 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4b881e40c9234dbaef647a0e01f57be8 File-DesktopEntry-0.12.tar.gz +cdfa3b437dc021f906f19c4a4867b94f File-DesktopEntry-0.20.tar.gz