Compare commits

...

5 Commits
rawhide ... el5

Author SHA1 Message Date
Paul Howarth
f6cd34f828 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
2012-03-18 18:42:42 +00:00
Fedora Release Engineering
d8e783db53 dist-git conversion 2010-07-29 06:40:07 +00:00
Bill Nottingham
307f278bf0 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 02:10:29 +00:00
Toshio くらとみ
d4d9c3673c Initialize branch EL-5 for perl-File-HomeDir 2007-11-15 19:06:55 +00:00
Jose Pedro Oliveira
2516d91d7d Update to 0.62. 2007-01-04 17:20:14 +00:00
5 changed files with 57 additions and 53 deletions

View File

@ -1 +0,0 @@
File-HomeDir-0.58.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/File-HomeDir-[0-9.]*.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: perl-File-HomeDir
# $Id$
NAME := perl-File-HomeDir
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,58 +1,83 @@
Name: perl-File-HomeDir
Version: 0.58
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
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@city-fan.org> - 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
* Thu Aug 03 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
- First build.
- First build

View File

@ -1 +1 @@
295ee8b4f580bea5fa5714cdf8ac965b File-HomeDir-0.58.tar.gz
f91869c79bd2725dbf436963c98cad73 File-HomeDir-0.86.tar.gz