jplesnik pushed to perl-File-BaseDir (master). "0.06 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 7 06:57:35 UTC 2015


>From 0cb543c4cef5109064c247cd7786224e0b8d1a5a Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Tue, 7 Apr 2015 08:57:22 +0200
Subject: 0.06 bump


diff --git a/.gitignore b/.gitignore
index 192b5a3..9cc18b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 File-BaseDir-0.03.tar.gz
+/File-BaseDir-0.06.tar.gz
diff --git a/perl-File-BaseDir.spec b/perl-File-BaseDir.spec
index 8bb2304..5397c1b 100644
--- a/perl-File-BaseDir.spec
+++ b/perl-File-BaseDir.spec
@@ -1,55 +1,62 @@
 Name:           perl-File-BaseDir
-Version:        0.03
-Release:        18%{?dist}
-Summary:        Use the freedesktop basedir spec
+Version:        0.06
+Release:        1%{?dist}
+Summary:        Use the Freedesktop.org base directory specification
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/File-BaseDir/
-Source0:        http://www.cpan.org/authors/id/P/PA/PARDUS/File-BaseDir-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-%{version}.tar.gz
 BuildArch:      noarch
-#BuildRequires:  perl(File::DesktopEntry)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Test::Pod) perl(Test::Pod::Coverage)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(Module::Build::Compat) >= 0.02
+# Run-time
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(IPC::System::Simple)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Tests
+BuildRequires:  perl(Config)
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(File::Which)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module can be used to find directories and files as specified by the
-XDG Base Directory Specification. It takes care of defaults and uses
-File::Spec to make the output platform specific.
+Freedesktop.org Base Directory Specification. This specifications gives a
+mechanism to locate directories for configuration, application data and
+cache data. It is suggested that desktop applications for e.g. the Gnome,
+KDE or Xfce platforms follow this layout. However, the same layout can just
+as well be used for non-GUI applications.
 
 %prep
 %setup -q -n File-BaseDir-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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 -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr 07 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.06-1
+- 0.06 bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.03-18
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 2a11560..9cdb866 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-527596f1507894dfaacdda72ea6dbb31  File-BaseDir-0.03.tar.gz
+13cd49e695e559b85a4543ed7ad80004  File-BaseDir-0.06.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-File-BaseDir.git/commit/?h=master&id=0cb543c4cef5109064c247cd7786224e0b8d1a5a


More information about the scm-commits mailing list