0.20 bump

This commit is contained in:
Jitka Plesnikova 2015-11-24 11:08:33 +01:00
parent 0971fe0c92
commit 21f19229a9
4 changed files with 11 additions and 25 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ File-DesktopEntry-0.04.tar.gz
/File-DesktopEntry-0.10.tar.gz /File-DesktopEntry-0.10.tar.gz
/File-DesktopEntry-0.11.tar.gz /File-DesktopEntry-0.11.tar.gz
/File-DesktopEntry-0.12.tar.gz /File-DesktopEntry-0.12.tar.gz
/File-DesktopEntry-0.20.tar.gz

View File

@ -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 '%') ? '%' :

View File

@ -1,14 +1,14 @@
Name: perl-File-DesktopEntry Name: perl-File-DesktopEntry
Version: 0.12 Version: 0.20
Release: 1%{?dist} Release: 1%{?dist}
Summary: Object to handle .desktop files Summary: Object to handle .desktop files
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/File-DesktopEntry/ URL: http://search.cpan.org/dist/File-DesktopEntry/
Source0: http://www.cpan.org/authors/id/M/MI/MICHIELB/File-DesktopEntry-%{version}.tar.gz 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 BuildArch: noarch
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict) BuildRequires: perl(strict)
@ -20,9 +20,11 @@ BuildRequires: perl(Encode)
BuildRequires: perl(File::BaseDir) >= 0.03 BuildRequires: perl(File::BaseDir) >= 0.03
BuildRequires: perl(File::Path) BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(URI::Escape)
BuildRequires: perl(vars) BuildRequires: perl(vars)
# Tests: # Tests:
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(utf8)
# Optional tests # Optional tests
BuildRequires: perl(Test::CPAN::Changes) BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod) >= 1.00
@ -40,7 +42,6 @@ these files. For this module version 1.0 of the specification was used.
%prep %prep
%setup -q -n File-DesktopEntry-%{version} %setup -q -n File-DesktopEntry-%{version}
%patch0 -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
@ -48,7 +49,7 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT 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/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -60,6 +61,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Tue Nov 24 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.20-1
- 0.20 bump
* Mon Jun 22 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-1 * Mon Jun 22 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-1
- 0.12 bump - 0.12 bump

View File

@ -1 +1 @@
4b881e40c9234dbaef647a0e01f57be8 File-DesktopEntry-0.12.tar.gz cdfa3b437dc021f906f19c4a4867b94f File-DesktopEntry-0.20.tar.gz