update to 1.25 [release 1.25-1mamba;Mon Jan 10 2022]

This commit is contained in:
2024-01-06 09:49:52 +01:00
parent 37597e5c33
commit ccfaef6c48
2 changed files with 11 additions and 15 deletions

View File

@ -1,8 +1,4 @@
# perl-Time-Period
Period.pm is a Perl module that contains code to deal with time periods.
Currently, there is only a function in this module. That function is called inPeriod().
inPeriod() determines if a given time is within a given time period.
It will return 1 if it is, 0 if not, and -1 if either the time or the period passed to it were malformed. The time is specified in non-leap year seconds past January 1, 1970, as per the time() function. The period is a string which is of the form described in Period's man page.

View File

@ -1,28 +1,25 @@
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
Name: perl-Time-Period
Version: 1.20
Release: 5mamba
Version: 1.25
Release: 1mamba
Summary: A Perl module that contains code to deal with time periods.
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
Source: http://www.cpan.org/authors/id/P/PR/PRYAN/Period-%{version}.tar.gz
URL: http://www.cpan.org
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/authors/id/P/PB/PBOYD/Time-Period-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/perl-root
BuildRequires: perl-devel >= %PERL_VERSION
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Requires: perl >= %PERL_VERSION
%description
Period.pm is a Perl module that contains code to deal with time periods.
Currently, there is only a function in this module. That function is called inPeriod().
inPeriod() determines if a given time is within a given time period.
It will return 1 if it is, 0 if not, and -1 if either the time or the period passed to it were malformed. The time is specified in non-leap year seconds past January 1, 1970, as per the time() function. The period is a string which is of the form described in Period's man page.
%prep
%setup -q -n Period-%{version}
%setup -q -n Time-Period-%{version}
%build
perl Makefile.PL
@ -47,6 +44,9 @@ rm -f .packlist
%defattr(-,root,root)
%changelog
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-1mamba
- update to 1.25
* Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 1.20-5mamba
- automatic rebuild by autodist