[perl-File-HomeDir/el5] Update to 0.86 (#803044)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit f6cd34f828c23664185f8b7defe85d47b47f93db
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Sun Mar 18 18:42:42 2012 +0000

    Update to 0.86 (#803044)
    
    - Update to 0.86 (#803044)
      - Add a special case to pass users_home(current user) on to my_home
      - Add 'my_dot_config'
      - Add a base driver class
      - File::HomeDir should now support "Perl on a Stick"
      - Localise $@ during evals
      - When we get more than one warning, diag the warnings so that we actually
        have a chance to get rid of the extra warnings
      - Bug fix for the 64-bit implementation
    - BR: perl(ExtUtils::MakeMaker) for module build
    - BR: perl(Carp), perl(Config), perl(Cwd) and perl(File::Spec) for module
    - BR: perl(Test::CPAN::Meta) and perl(Test::MinimumVersion) for test suite
    - Drop %defattr, redundant since rpm 4.4
    - Make %files list more explicit
    - Don't use macros for commands
    - Don't need to remove empty directories from buildroot
    - Don't need to fix permissions of files from upstream tarball
    - Fix license tag
    - Improve %description
    - Use %{_fixperms} macro rather than our own chmod incantation
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - Use search.cpan.org URL

 .gitignore             |    2 +-
 perl-File-HomeDir.spec |   84 ++++++++++++++++++++++++++++++-----------------
 sources                |    2 +-
 3 files changed, 55 insertions(+), 33 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e58ee33..abd3c7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-File-HomeDir-0.62.tar.gz
+/File-HomeDir-[0-9.]*.tar.gz
diff --git a/perl-File-HomeDir.spec b/perl-File-HomeDir.spec
index 7405c89..5c90abf 100644
--- a/perl-File-HomeDir.spec
+++ b/perl-File-HomeDir.spec
@@ -1,61 +1,83 @@
 Name:           perl-File-HomeDir
-Version:        0.62
+Version:        0.86
 Release:        1%{?dist}
 Summary:        Get the home directory for yourself or other users
-
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/File-HomeDir/
-Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Test::CPAN::Meta)
+BuildRequires:  perl(Test::MinimumVersion)
 BuildRequires:  perl(Test::Pod)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
-File::HomeDir is a module for dealing with issues relating to the
-location of directories for various purposes that are "owned" by a
-user, and to solve these problems consistently across a wide variety
-of platforms.
-
+File::HomeDir is a module for locating the directories that are "owned"
+by a user (typically your user) and to solve the various issues that
+arise trying to find them consistently across a wide variety of
+platforms.
 
 %prep
 %setup -q -n File-HomeDir-%{version}
-chmod -v a-x Changes lib/File/{*.pm,HomeDir/*.pm}
-
 
 %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
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
 
 %check
-AUTOMATED_TESTING=1 make test
-
+make test AUTOMATED_TESTING=1
 
 %clean
-rm -rf $RPM_BUILD_ROOT
-
+rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/File/
-%{_mandir}/man3/*.3pm*
-
+%{_mandir}/man3/File::HomeDir.3pm*
+%{_mandir}/man3/File::HomeDir::Darwin.3pm*
+%{_mandir}/man3/File::HomeDir::Unix.3pm*
+%{_mandir}/man3/File::HomeDir::Windows.3pm*
 
 %changelog
+* Sun Mar 18 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.86-1
+- Update to 0.86 (#803044)
+  - Add a special case to pass users_home(current user) on to my_home
+  - Add 'my_dot_config'
+  - Add a base driver class
+  - File::HomeDir should now support "Perl on a Stick"
+  - Localise $@ during evals
+  - When we get more than one warning, diag the warnings so that we actually
+    have a chance to get rid of the extra warnings
+  - Bug fix for the 64-bit implementation
+- BR: perl(ExtUtils::MakeMaker) for module build
+- BR: perl(Carp), perl(Config), perl(Cwd) and perl(File::Spec) for module
+- BR: perl(Test::CPAN::Meta) and perl(Test::MinimumVersion) for test suite
+- Drop %%defattr, redundant since rpm 4.4
+- Make %%files list more explicit
+- Don't use macros for commands
+- Don't need to remove empty directories from buildroot
+- Don't need to fix permissions of files from upstream tarball
+- Fix license tag
+- Improve %%description
+- Use %%{_fixperms} macro rather than our own chmod incantation
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Use search.cpan.org URL
+
 * Thu Jan  4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.62-1
-- Update to 0.62.
+- Update to 0.62
 
 * Thu Aug 03 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
-- First build.
+- First build
diff --git a/sources b/sources
index 9edecca..4c15430 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-773d7eac4275504c8370ea7601f342f8  File-HomeDir-0.62.tar.gz
+f91869c79bd2725dbf436963c98cad73  File-HomeDir-0.86.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux