Update to 1.4. Update License tag. Drop our copy of the license text.

Improve Summary. Make description match cpanspec output. BR Test::More.
This commit is contained in:
Steven Pritchard 2007-10-15 20:06:39 +00:00
parent eef1efb9f8
commit b98aa0bf60
3 changed files with 22 additions and 16 deletions

View File

@ -1 +1 @@
Class-Singleton-1.03.tar.gz
Class-Singleton-1.4.tar.gz

View File

@ -1,29 +1,29 @@
Name: perl-Class-Singleton
Version: 1.03
Release: 4%{?dist}
Summary: Class::Singleton Perl module
License: Artistic
Version: 1.4
Release: 1%{?dist}
Summary: Implementation of a "Singleton" class
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Class-Singleton/
Source0: http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This is the Class::Singleton module. A Singleton describes an object
class that can have only one instance in any system. An example of a
Singleton might be a print spooler or system registry. This module
implements a Singleton class from which other classes can be derived.
By itself, the Class::Singleton module does very little other than
manage the instantiation of a single object. In deriving a class from
This is the Class::Singleton module. A Singleton describes an object class
that can have only one instance in any system. An example of a Singleton
might be a print spooler or system registry. This module implements a
Singleton class from which other classes can be derived. By itself, the
Class::Singleton module does very little other than manage the
instantiation of a single object. In deriving a class from
Class::Singleton, your module will inherit the Singleton instantiation
method and can implement whatever specific functionality is required.
%prep
%setup -q -n Class-Singleton-%{version}
chmod a-x Singleton.pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -39,8 +39,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
perldoc -t perlartistic > Artistic
%check
make test
@ -49,11 +47,19 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README Artistic
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.4-1
- Update to 1.4.
- Update License tag.
- Drop our copy of the license text.
- Improve Summary.
- Make description match cpanspec output.
- BR Test::More.
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4
- Use fixperms macro instead of our own chmod incantation.
- BR ExtUtils::MakeMaker.

View File

@ -1 +1 @@
80202a57411cb3e939fec327a87564bf Class-Singleton-1.03.tar.gz
a18b108ab97e2107cbbe816d2b3e2ee3 Class-Singleton-1.4.tar.gz