8
0
forked from pool/perl-DateTime

Compare commits

...

51 Commits

Author SHA256 Message Date
5f18940fda Accepting request 1269241 from devel:languages:perl
- updated to 1.660.0 (1.66)
   see /usr/share/doc/packages/perl-DateTime/Changes
  1.66   2025-02-18
  - Require Specio 0.50. That release has a bug fix for validation of integer values. Without the fix,
    DateTime could accept non-integer values for things like nanoseconds. Reported by @HGuillemet. GH
    #145. (forwarded request 1268687 from tinita)

OBS-URL: https://build.opensuse.org/request/show/1269241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=60
2025-04-15 14:45:17 +00:00
5def1eba4e Accepting request 1268687 from devel:languages:perl:autoupdate
- updated to 1.660.0 (1.66)
   see /usr/share/doc/packages/perl-DateTime/Changes
  1.66   2025-02-18
  - Require Specio 0.50. That release has a bug fix for validation of integer values. Without the fix,
    DateTime could accept non-integer values for things like nanoseconds. Reported by @HGuillemet. GH
    #145.

OBS-URL: https://build.opensuse.org/request/show/1268687
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=116
2025-04-14 11:15:40 +00:00
861b142d41 Accepting request 1156541 from devel:languages:perl
- Fix disabling of __perllib_provides

OBS-URL: https://build.opensuse.org/request/show/1156541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=59
2024-03-10 19:23:52 +00:00
e6ac16aa1f Accepting request 1126980 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1126980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=58
2023-11-20 20:18:34 +00:00
3ea9800d8a Accepting request 1120572 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1120572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=57
2023-10-27 20:27:20 +00:00
d143b22606 Accepting request 1034443 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1034443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=56
2022-11-09 11:56:20 +00:00
2567311cda Accepting request 972833 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/972833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=55
2022-04-28 21:07:04 +00:00
827cc64ded Accepting request 960195 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/960195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=54
2022-03-09 17:47:06 +00:00
0f55b54737 Accepting request 959199 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/959199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=53
2022-03-05 13:43:50 +00:00
4823a645b2 Accepting request 943418 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/943418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=52
2022-01-03 09:48:55 +00:00
52ccd81925 Accepting request 854762 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/854762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=51
2020-12-13 16:29:23 +00:00
1137f0f4a2 Accepting request 847436 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/847436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=50
2020-11-13 17:54:33 +00:00
1f708e9c64 Accepting request 781160 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/781160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=49
2020-03-06 20:23:25 +00:00
02a2d178d6 Accepting request 696578 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/696578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=48
2019-04-23 12:41:16 +00:00
c7d85c57f2 Accepting request 631317 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/631317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=47
2018-08-27 10:56:22 +00:00
079b406de1 Accepting request 611497 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/611497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=46
2018-05-25 19:34:54 +00:00
12a564b059 Accepting request 592064 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/592064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=45
2018-03-29 09:52:54 +00:00
8beb843f03 Accepting request 577367 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/577367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=44
2018-02-16 20:38:24 +00:00
e480a29de6 Accepting request 561823 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/561823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=43
2018-01-09 13:34:53 +00:00
a67da914f9 Accepting request 518090 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/518090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=42
2017-08-24 16:25:22 +00:00
dbff6a327d Accepting request 503646 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/503646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=41
2017-06-15 09:25:22 +00:00
c19525409d Accepting request 417323 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/417323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=40
2016-08-09 20:15:18 +00:00
f4251b7d0a Accepting request 407089 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/407089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=39
2016-07-09 07:23:56 +00:00
f3884b47c3 Accepting request 406463 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/406463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=38
2016-07-05 07:52:56 +00:00
e7c30f325c Accepting request 397864 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/397864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=37
2016-05-25 19:29:37 +00:00
c027987201 Accepting request 377331 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/377331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=36
2016-03-26 14:26:49 +00:00
901d13fca5 Accepting request 368919 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/368919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=35
2016-03-16 09:34:20 +00:00
2e7840aacb Accepting request 335897 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/335897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=34
2015-10-14 14:44:03 +00:00
076848492b Accepting request 311431 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/311431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=33
2015-06-11 06:23:03 +00:00
25e18fb265 Accepting request 284928 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/284928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=32
2015-02-10 19:23:35 +00:00
Stephan Kulow
ac068952a1 Accepting request 249346 from devel:languages:perl
- updated to 1.12
 - The last release had the wrong repo info in the metadata.
 
 - The latest historical changes in DateTime::TimeZone 1.74 caused some tests
   to fail. Reported by Slaven Rezic. RT #98483.
 
 - This release of DateTime.pm now requires the DateTime::TimeZone 1.74.

OBS-URL: https://build.opensuse.org/request/show/249346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=31
2014-09-19 11:56:03 +00:00
Stephan Kulow
7a44c6beba Accepting request 242324 from devel:languages:perl
- updated to 1.10
 
 - Some tests added in 1.09 would fail on a Perl without a 64-bit
   gmtime(). Reported by Jerome Eteve. RT #95345.
 
 
 1.09   2014-05-03
 
 - A call to ->truncate( to => 'week' ) could fail but leave the object
   changed. RT #93347.
 
 - The value of ->jd() is now calculated based on ->mjd() instead of the other
   way around. This reduces floating point errors a bit when calculating MJD,
   and should have a neglible impact on the accuracy of JD. Reported by Anye
   Li. RT #92972. See the ticket for a more detailed description of what this
   fixes.
 
 - Attempting to construct a DateTime object with a year >= 5000 and a time
   zone other than floating or DST now issues a warning. This warning may go
   away once DateTime::TimeZone is made much faster. Inspired by a bug report
   from Lloyd Fournier. RT #92655.
 
 
 1.08   2014-03-11
 
 - DateTime now calls DateTime->_core_time() instead of calling Perl's time()
   built-in directly. This makes it much easier to override the value of time()
   that DateTime sees. This may make it easier to write tests for code that
   uses DateTime .

OBS-URL: https://build.opensuse.org/request/show/242324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=29
2014-07-25 10:27:31 +00:00
Stephan Kulow
734c32cecb Accepting request 224983 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/224983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=28
2014-03-09 17:37:37 +00:00
Stephan Kulow
5e86273c3d Accepting request 221816 from devel:languages:perl
- removed obsolete patches:
  * DateTime-0.72-Build.patch (forwarded request 221731 from leonardocf)

OBS-URL: https://build.opensuse.org/request/show/221816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=27
2014-02-11 14:24:36 +00:00
Stephan Kulow
bc32e2c33c Accepting request 209943 from devel:languages:perl
- updated to 1.04
 - Calling set_locale() or set_formatter() on an object with an ambiguous local
   time could change the underlying UTC time for that object. Reported by Marta
   Cuaresma Saturio. RT #90583.

OBS-URL: https://build.opensuse.org/request/show/209943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=26
2013-12-11 10:30:31 +00:00
Stephan Kulow
c1f96a08d9 Accepting request 177402 from devel:languages:perl
- updated to 1.03
 - The set_time_zone() method was not returning the object when caalled with a
   name that matched the current zone. Reported by Noel Maddy. RT #84699.
 
 - When a constructor method like new() or today() was called on an object,
   you'd get an error message like 'Can't locate object method
   "_normalize_nanoseconds" via package "2013-04-15T00:00:00"'. This has been
   fixed to provide a sane error message. Patch by Doug Bell.
 
 - When set_time_zone() is called with a name that matches the current time
   zone, DateTime now short circuits and avoids a lot of work. Patch by Mark
   Stosberg.
 
 - Fixed test failures on older Perls.
 
 - Bumped the version to 1.00. This is mostly because my prior use of both X.YY
   and X.YYYY versions causes trouble for some packaging systems. Plus after 10
   years it's probably ready to be called 1.00. Requested by Adam. RT #82800. 
 
 - The %j specifier for strftime was not zero-padding 1 and 2 digit
   numbers. Fixed by Christian Hansen. RT #84310.
 
 - The truncate method was sloppy about validating its "to" parameter, so you
   could pass things like "years" or "month whatever anything goes". The method
   would accept the parameter but then not actually truncate the object. RT
   #84229.
 
 - Previously, if a call to $dt->set_time_zone() failed it would still change
   the time zone of the object, leaving it in a broken state. Reported by Bill
   Moseley. RT #83940. (forwarded request 177336 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=24
2013-06-05 15:51:04 +00:00
Stephan Kulow
cece22094d Accepting request 108535 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/108535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=21
2012-03-09 20:25:00 +00:00
Stephan Kulow
985e2466ff Accepting request 104869 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/104869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=20
2012-02-16 15:21:36 +00:00
Stephan Kulow
8ca97e2965 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=19
2011-12-06 17:40:03 +00:00
Stephan Kulow
2b66ea806f Accepting request 92190 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=18
2011-11-21 11:38:10 +00:00
Berthold Gunreben
49f5503cb1 Accepting request 69999 from devel:languages:perl
bugfix: fixes %N placeholder

OBS-URL: https://build.opensuse.org/request/show/69999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=16
2011-05-12 08:45:20 +00:00
Sascha Peilicke
15fc53b386 Autobuild autoformatter for 65642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=15
2011-03-31 12:22:41 +00:00
Sascha Peilicke
85869e5dd8 Accepting request 65642 from devel:languages:perl
Accepted submit request 65642 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=14
2011-03-31 12:22:31 +00:00
Ruediger Oertel
a6b8c68220 Autobuild autoformatter for 62175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=13
2011-02-20 23:54:37 +00:00
Ruediger Oertel
9bd6e3e491 Accepting request 62175 from devel:languages:perl
Accepted submit request 62175 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/62175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=12
2011-02-20 23:54:29 +00:00
Lars Vogdt
ee1f63af24 Autobuild autoformatter for 54512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=10
2010-12-05 20:47:34 +00:00
Lars Vogdt
a2327d1d43 Accepting request 54512 from devel:languages:perl
Accepted submit request 54512 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=9
2010-12-05 20:47:29 +00:00
2a9cff2904 Autobuild autoformatter for 53655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=8
2010-11-22 14:09:40 +00:00
b94c0485ed Accepting request 53655 from devel:languages:perl
Accepted submit request 53655 from user anicka

OBS-URL: https://build.opensuse.org/request/show/53655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=7
2010-11-22 14:09:34 +00:00
OBS User autobuild
aeb7d8066b Accepting request 49567 from devel:languages:perl
Copy from devel:languages:perl/perl-DateTime based on submit request 49567 from user anicka

OBS-URL: https://build.opensuse.org/request/show/49567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=6
2010-10-01 22:14:18 +00:00
OBS User autobuild
ba1d450f49 Accepting request 48374 from devel:languages:perl
Copy from devel:languages:perl/perl-DateTime based on submit request 48374 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/48374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=5
2010-09-17 23:12:56 +00:00
4 changed files with 38 additions and 25 deletions

BIN
DateTime-1.65.tar.gz (Stored with Git LFS)

Binary file not shown.

3
DateTime-1.66.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afabd686fb83d3ebf49ee453974f9122f3eec9b25ff8d2ddf4f12de92af1e5e2
size 324534

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Feb 19 05:32:22 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.660.0 (1.66)
see /usr/share/doc/packages/perl-DateTime/Changes
1.66 2025-02-18
- Require Specio 0.50. That release has a bug fix for validation of integer values. Without the fix,
DateTime could accept non-integer values for things like nanoseconds. Reported by @HGuillemet. GH
#145.
-------------------------------------------------------------------
Fri Mar 8 22:16:40 UTC 2024 - Tina Müller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,9 +18,10 @@
%define cpan_name DateTime
Name: perl-DateTime
Version: 1.650.0
Version: 1.660.0
Release: 0
%define cpan_version 1.65
# 1.66 -> normalize -> 1.660.0
%define cpan_version 1.66
License: Artistic-2.0
Summary: Date and time object for Perl
URL: https://metacpan.org/release/%{cpan_name}
@@ -28,13 +29,13 @@ Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Check) >= 0.11.0
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(DateTime::Locale) >= 1.06
BuildRequires: perl(DateTime::TimeZone) >= 2.44
BuildRequires: perl(DateTime::TimeZone) >= 2.440
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
BuildRequires: perl(Params::ValidationCompiler) >= 0.26
BuildRequires: perl(Specio) >= 0.18
BuildRequires: perl(Specio) >= 0.500
BuildRequires: perl(Specio::Declare)
BuildRequires: perl(Specio::Exporter)
BuildRequires: perl(Specio::Library::Builtins)
@@ -43,16 +44,16 @@ BuildRequires: perl(Specio::Library::String)
BuildRequires: perl(Specio::Subs)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Warnings) >= 0.005
BuildRequires: perl(Test::Warnings) >= 0.5.0
BuildRequires: perl(Test::Without::Module)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(namespace::autoclean) >= 0.19
BuildRequires: perl(namespace::autoclean) >= 0.190
BuildRequires: perl(parent)
Requires: perl(DateTime::Locale) >= 1.06
Requires: perl(DateTime::TimeZone) >= 2.44
Requires: perl(DateTime::TimeZone) >= 2.440
Requires: perl(Dist::CheckConflicts) >= 0.02
Requires: perl(Params::ValidationCompiler) >= 0.26
Requires: perl(Specio) >= 0.18
Requires: perl(Specio) >= 0.500
Requires: perl(Specio::Declare)
Requires: perl(Specio::Exporter)
Requires: perl(Specio::Library::Builtins)
@@ -60,18 +61,18 @@ Requires: perl(Specio::Library::Numeric)
Requires: perl(Specio::Library::String)
Requires: perl(Specio::Subs)
Requires: perl(Try::Tiny)
Requires: perl(namespace::autoclean) >= 0.19
Requires: perl(namespace::autoclean) >= 0.190
Requires: perl(parent)
Provides: perl(DateTime) = 1.650.0
Provides: perl(DateTime::Duration) = 1.650.0
Provides: perl(DateTime::Helpers) = 1.650.0
Provides: perl(DateTime::Infinite) = 1.650.0
Provides: perl(DateTime::Infinite::Future) = 1.650.0
Provides: perl(DateTime::Infinite::Past) = 1.650.0
Provides: perl(DateTime::LeapSecond) = 1.650.0
Provides: perl(DateTime::PP) = 1.650.0
Provides: perl(DateTime::PPExtra) = 1.650.0
Provides: perl(DateTime::Types) = 1.650.0
Provides: perl(DateTime) = %{version}
Provides: perl(DateTime::Duration) = %{version}
Provides: perl(DateTime::Helpers) = %{version}
Provides: perl(DateTime::Infinite) = %{version}
Provides: perl(DateTime::Infinite::Future) = %{version}
Provides: perl(DateTime::Infinite::Past) = %{version}
Provides: perl(DateTime::LeapSecond) = %{version}
Provides: perl(DateTime::PP) = %{version}
Provides: perl(DateTime::PPExtra) = %{version}
Provides: perl(DateTime::Types) = %{version}
%undefine __perllib_provides
%{perl_requires}
@@ -91,7 +92,7 @@ how dates are often written using "BCE/CE" or "BC/AD".
For infinite datetimes, please see the DateTime::Infinite module.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644