rpms/perl-DateTime-Format-Strptime/devel perl-DateTime-Format-Strptime-charset.patch, NONE, 1.1 perl-DateTime-Format-Strptime.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Fri Jul 7 17:40:19 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-DateTime-Format-Strptime/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26190/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-DateTime-Format-Strptime-charset.patch 
	perl-DateTime-Format-Strptime.spec 
Log Message:
auto-import perl-DateTime-Format-Strptime-1.0700-1 on branch devel from perl-DateTime-Format-Strptime-1.0700-1.src.rpm

perl-DateTime-Format-Strptime-charset.patch:

--- NEW FILE perl-DateTime-Format-Strptime-charset.patch ---
--- lib/DateTime/Format/Strptime.pm.orig	2005-11-04 17:38:04.000000000 -0600
+++ lib/DateTime/Format/Strptime.pm	2006-07-05 16:08:08.000000000 -0500
@@ -1170,7 +1170,7 @@
 
 =head1 LICENSE AND COPYRIGHT
 
-Copyright E<169> Rick Measham, 2003-2005. All rights reserved.
+Copyright © Rick Measham, 2003-2005. All rights reserved.
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.


--- NEW FILE perl-DateTime-Format-Strptime.spec ---
Name:           perl-DateTime-Format-Strptime
Version:        1.0700
Release:        1%{?dist}
Summary:        Parse and format strp and strf time patterns
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/DateTime-Format-Strptime/
Source0:        http://www.cpan.org/authors/id/R/RI/RICKM/DateTime-Format-Strptime-%{version}.tar.gz
Patch0:         %{name}-charset.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(DateTime)
BuildRequires:  perl(DateTime::Locale) >= 0.02
BuildRequires:  perl(DateTime::TimeZone) >= 0.25
BuildRequires:  perl(Params::Validate) >= 0.64
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module implements most of strptime(3), the POSIX function that is the
reverse of strftime(3), for DateTime. While strftime takes a DateTime and a
pattern and returns a string, strptime takes a string and a pattern and
returns the DateTime object associated.

%prep
%setup -q -n DateTime-Format-Strptime-%{version}
%patch0

%build
%{__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+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Jul 03 2006 Steven Pritchard <steve at kspei.com> 1.0700-1
- Specfile autogenerated by cpanspec 1.66.
- Fix License.
- Remove versioned DateTime deps (0.1402 > 0.30 according to rpm).
- Remove versioned explicit dependencies that rpmbuild picks up.
- Substitute literal "©" for E<169> in pod documentation.  (The result
  should be the same, but apparently the man page conversion is generating
  something that rpmlint doesn't like.)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-DateTime-Format-Strptime/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Jul 2006 17:39:47 -0000	1.1
+++ .cvsignore	7 Jul 2006 17:40:19 -0000	1.2
@@ -0,0 +1 @@
+DateTime-Format-Strptime-1.0700.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-DateTime-Format-Strptime/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Jul 2006 17:39:47 -0000	1.1
+++ sources	7 Jul 2006 17:40:19 -0000	1.2
@@ -0,0 +1 @@
+fcda7127b01dcad43ca7cf30be9a1dc6  DateTime-Format-Strptime-1.0700.tar.gz




More information about the scm-commits mailing list