f0af848
Name:           perl-Sentinel
f0af848
Version:        0.05
65b398c
Release:        6%{?dist}
f0af848
Summary:        Create lightweight SCALARs with get/set callbacks
f0af848
License:        GPL+ or Artistic
f0af848
f0af848
URL:            http://search.cpan.org/dist/Sentinel/
f0af848
Source0:        http://www.cpan.org/authors/id/P/PE/PEVANS/Sentinel-%{version}.tar.gz
f0af848
f0af848
BuildRequires:  perl
f0af848
BuildRequires:  perl(constant)
f0af848
BuildRequires:  perl(Exporter)
f0af848
BuildRequires:  perl(ExtUtils::CBuilder)
f0af848
BuildRequires:  perl(Module::Build)
f0af848
BuildRequires:  perl(Test::More)
f0af848
BuildRequires:  perl(Scalar::Util)
f0af848
BuildRequires:  perl(strict)
f0af848
BuildRequires:  perl(Test::Pod)
f0af848
BuildRequires:  perl(Test::Refcount)
f0af848
BuildRequires:  perl(warnings)
f0af848
BuildRequires:  perl(XSLoader)
f0af848
f0af848
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
f0af848
Requires:       perl(XSLoader)
f0af848
f0af848
%{?perl_default_filter}
f0af848
f0af848
%description
f0af848
This module provides a single lvalue function, sentinel, which yields a
f0af848
scalar that invoke callbacks to get or set its value. Primarily this is
f0af848
useful to create lvalue object accessors or other functions, to invoke
f0af848
actual code when a new value is set, rather than simply updating a
f0af848
scalar variable.
f0af848
f0af848
%prep
f0af848
%setup -q -n Sentinel-%{version}
f0af848
f0af848
%build
f0af848
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
f0af848
./Build
f0af848
f0af848
%install
f0af848
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
f0af848
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
f0af848
f0af848
%{_fixperms} $RPM_BUILD_ROOT/*
f0af848
f0af848
f0af848
%check
f0af848
./Build test
f0af848
f0af848
%files
f0af848
%doc Changes README
f0af848
%license LICENSE
f0af848
%{perl_vendorarch}/auto/Sentinel
f0af848
%{perl_vendorarch}/Sentinel*
f0af848
%{_mandir}/man3/Sentinel*
f0af848
f0af848
%changelog
65b398c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-6
65b398c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
65b398c
592bfb4
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-5
592bfb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
592bfb4
b9df3ef
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-4
b9df3ef
- Perl 5.22 rebuild
b9df3ef
f681cdc
* Mon Sep 08 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-3
f681cdc
- Perl 5.20 mass
f681cdc
f0af848
* Sun Sep 07 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.05-2
f0af848
- Take into account review comments (#1139007)
f0af848
f0af848
* Wed Sep 03 2014 Emmanuel Seyman <emmanuel@seyman.fr> 0.05-1
f0af848
- Specfile autogenerated by cpanspec 1.78.