commit 00a54a9e87d6189fccd4abc160f4c24b8fa34998e05de3065bc9b8b448737a77 Author: OBS User unknown Date: Mon Jan 15 23:32:03 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-TimeDate?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/TimeDate-1.16.tar.gz b/TimeDate-1.16.tar.gz new file mode 100644 index 0000000..3087380 --- /dev/null +++ b/TimeDate-1.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7942ef0181b5828563a1b98a0a801a75bc0102773a1c942a09ac1d0b9fba6cb3 +size 22366 diff --git a/TimeDate-deprecated_array_use.patch b/TimeDate-deprecated_array_use.patch new file mode 100644 index 0000000..f401754 --- /dev/null +++ b/TimeDate-deprecated_array_use.patch @@ -0,0 +1,20 @@ +--- lib/Date/Format.pm ++++ lib/Date/Format.pm +@@ -85,7 +85,7 @@ + $tzname = sprintf("%+05d",$tzname) + unless($tzname =~ /\D/); + +- $epoch = timegm(@{$time}[0..5]); ++ $epoch = timegm( @$time[0], @$time[1], @$time[2], @$time[3], @$time[4], @$time[5] ); + + @$me = gmtime($epoch + tz_offset($tzname) - tz_offset()); + } +@@ -217,7 +217,7 @@ + sub format_M { sprintf("%02d",$_[0]->[1]) } + sub format_q { sprintf("%01d",int($_[0]->[4] / 3) + 1) } + sub format_s { +- $epoch = timegm(@{$_[0]}[0..5]) ++ $epoch = timegm($_[0], $_[1], $_[2], $_[3], $_[4], $_[5] ) + unless defined $epoch; + sprintf("%d",$epoch) + } diff --git a/perl-TimeDate.changes b/perl-TimeDate.changes new file mode 100644 index 0000000..9a6ea2c --- /dev/null +++ b/perl-TimeDate.changes @@ -0,0 +1,63 @@ +------------------------------------------------------------------- +Wed Jan 25 21:40:00 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Sun Jan 11 10:27:15 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Fri Aug 22 15:55:40 CEST 2003 - mjancar@suse.cz + +- require the perl version we build with + +------------------------------------------------------------------- +Mon Jul 21 11:36:19 CEST 2003 - rommel@suse.de + +- update to version 1.16 +- using perl_vendorlib and perl_vendorarch instead of + perl_sitearch and perl_archlib + +------------------------------------------------------------------- +Wed Jun 18 09:03:37 CEST 2003 - coolo@suse.de + +- package directories + +------------------------------------------------------------------- +Mon May 26 00:25:54 CEST 2003 - ro@suse.de + +- remove unpackaged files from buildroot + +------------------------------------------------------------------- +Thu Jan 16 18:03:10 CET 2003 - rommel@suse.de + +- update to version 1.14 +- fixed depricated array use in timegm() + +------------------------------------------------------------------- +Thu Aug 8 18:52:19 CEST 2002 - mls@suse.de + +- use sitearch macro + +------------------------------------------------------------------- +Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de + +- remove race in .packlist generation + +------------------------------------------------------------------- +Tue Nov 7 14:12:56 CET 2000 - grimmer@suse.de + +- added .packlist to file list and removed BuildRoot path + +------------------------------------------------------------------- +Tue Nov 7 10:34:18 CET 2000 - grimmer@suse.de + +- removed BuildRoot path from perllocal.pod + +------------------------------------------------------------------- +Mon Nov 6 19:53:03 CET 2000 - grimmer@suse.de + +- initial version (1.10) + diff --git a/perl-TimeDate.spec b/perl-TimeDate.spec new file mode 100644 index 0000000..05c3ba3 --- /dev/null +++ b/perl-TimeDate.spec @@ -0,0 +1,89 @@ +# +# spec file for package perl-TimeDate (Version 1.16) +# +# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# + +# norootforbuild +# usedforbuild aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-devel pam-modules patch permissions popt ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils cracklib gcc gdbm gettext libtool perl rpm + +Name: perl-TimeDate +License: Artistic License +Group: Development/Libraries/Perl +Provides: TimeDate +Requires: perl = %{perl_version} +Autoreqprov: on +Version: 1.16 +Release: 71 +Summary: Perl Modules for time and date calculation +Source: TimeDate-%{version}.tar.gz +Patch: TimeDate-deprecated_array_use.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +These modules provide Perl functions to do time and date calculations. + + + +Authors: +-------- + Graham Barr + +%prep +%setup -n TimeDate-%{version} +%patch + +%build +perl Makefile.PL +make +make test + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_process_packlist + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc ChangeLog README +%doc %{_mandir}/man?/* +%{perl_vendorlib}/Date +%{perl_vendorlib}/Time +%{perl_vendorarch}/auto/TimeDate +/var/adm/perl-modules/%{name} + +%changelog -n perl-TimeDate +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Sun Jan 11 2004 - adrian@suse.de +- build as user +* Fri Aug 22 2003 - mjancar@suse.cz +- require the perl version we build with +* Mon Jul 21 2003 - rommel@suse.de +- update to version 1.16 +- using perl_vendorlib and perl_vendorarch instead of + perl_sitearch and perl_archlib +* Wed Jun 18 2003 - coolo@suse.de +- package directories +* Mon May 26 2003 - ro@suse.de +- remove unpackaged files from buildroot +* Thu Jan 16 2003 - rommel@suse.de +- update to version 1.14 +- fixed depricated array use in timegm() +* Thu Aug 08 2002 - mls@suse.de +- use sitearch macro +* Tue Jul 02 2002 - mls@suse.de +- remove race in .packlist generation +* Tue Nov 07 2000 - grimmer@suse.de +- added .packlist to file list and removed BuildRoot path +* Tue Nov 07 2000 - grimmer@suse.de +- removed BuildRoot path from perllocal.pod +* Mon Nov 06 2000 - grimmer@suse.de +- initial version (1.10) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4