rpms/perl-DateTime-Set/devel DateTime-Set-filter-requires.sh, NONE, 1.1 perl-DateTime-Set.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:34:58 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-DateTime-Set/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25834/devel

Modified Files:
	.cvsignore sources 
Added Files:
	DateTime-Set-filter-requires.sh perl-DateTime-Set.spec 
Log Message:
auto-import perl-DateTime-Set-0.25-1 on branch devel from perl-DateTime-Set-0.25-1.src.rpm


--- NEW FILE DateTime-Set-filter-requires.sh ---
#!/bin/sh

@@PERL_REQ@@ "$@" | sed -e '/^perl(Set::Infinite) >= 0.5502$/d'


--- NEW FILE perl-DateTime-Set.spec ---
Name:           perl-DateTime-Set
Version:        0.25
Release:        1%{?dist}
Summary:        Datetime sets and set math
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/DateTime-Set/
Source0:        http://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Set-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(DateTime) >= 0.12
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Set::Infinite) >= 0.59
Requires:       perl(Set::Infinite) >= 0.59
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

Source98:       DateTime-Set-filter-requires.sh
%global real_perl_requires %{__perl_requires}
%define __perl_requires %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-requires

%description
DateTime::Set is a module for datetime sets. It can be used to handle two
different types of sets. The first is a fixed set of predefined datetime
objects. For example, if we wanted to create a set of datetimes containing
the birthdays of people in our family. The second type of set that it can
handle is one based on the idea of a recurrence, such as "every Wednesday",
or "noon on the 15th day of every month". This type of set can have fixed
starting and ending datetimes, but neither is required. So our "every
Wednesday set" could be "every Wednesday from the beginning of time until
the end of time", or "every Wednesday after 2003-03-05 until the end of
time", or "every Wednesday between 2003-03-05 and 2004-01-07".

%prep
%setup -q -n DateTime-Set-%{version}

sed -e 's,@@PERL_REQ@@,%{real_perl_requires},' %{SOURCE98} > %{__perl_requires}
chmod +x %{__perl_requires}

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;

chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT %{__perl_requires}

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

%changelog
* Wed Jul 05 2006 Steven Pritchard <steve at kspei.com> 0.25-1
- Specfile autogenerated by cpanspec 1.66.
- Fix License.
- Exclude Set::Infinite auto-requires due to version comparison issue
  (0.5502 > 0.59 to rpm).
- Drop explicit DateTime dependency.  (rpmbuild figures it out.)
- Add a bit to the description.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-DateTime-Set/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Jul 2006 17:34:26 -0000	1.1
+++ .cvsignore	7 Jul 2006 17:34:58 -0000	1.2
@@ -0,0 +1 @@
+DateTime-Set-0.25.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-DateTime-Set/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Jul 2006 17:34:26 -0000	1.1
+++ sources	7 Jul 2006 17:34:58 -0000	1.2
@@ -0,0 +1 @@
+777f0d8c2f6c6092cd7a70bf7e701831  DateTime-Set-0.25.tar.gz




More information about the fedora-extras-commits mailing list