Remove condition for perl(deprecated); Add BRs: perl(Tie::Scalar), perl(Tie::StdScalar)

epel9
Jitka Plesnikova 5 years ago
parent aeb96e35e7
commit 913d15e495

@ -2,38 +2,35 @@ Name: perl-Object-Accessor
# Epoch to compete with perl.spec # Epoch to compete with perl.spec
Epoch: 1 Epoch: 1
Version: 0.48 Version: 0.48
Release: 20%{?dist} Release: 21%{?dist}
Summary: Interface to create per object accessors Summary: Interface to create per object accessors
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Object-Accessor URL: https://metacpan.org/release/Object-Accessor
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Object-Accessor-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Object-Accessor-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl-interpreter BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) BuildRequires: perl(strict)
# Run-time: # Run-time:
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(constant) BuildRequires: perl(constant)
%if 0%(perl -e 'print $] > 5.017')
BuildRequires: perl(deprecate) BuildRequires: perl(deprecate)
%endif
BuildRequires: perl(if) BuildRequires: perl(if)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(overload) BuildRequires: perl(overload)
BuildRequires: perl(Params::Check) >= 0.34 BuildRequires: perl(Params::Check) >= 0.34
# Tie::Scalar is not needed for tests BuildRequires: perl(Tie::Scalar)
# Tie::StdScalar is not needed for tests BuildRequires: perl(Tie::StdScalar)
BuildRequires: perl(vars) BuildRequires: perl(vars)
# Tests: # Tests:
BuildRequires: perl(Data::Dumper) BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%if 0%(perl -e 'print $] > 5.017')
Requires: perl(deprecate) Requires: perl(deprecate)
%endif
%description %description
Object::Accessor provides an interface to create per object accessors (as Object::Accessor provides an interface to create per object accessors (as
@ -43,12 +40,11 @@ opposed to per Class accessors, as, for example, Class::Accessor provides).
%setup -q -n Object-Accessor-%{version} %setup -q -n Object-Accessor-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -60,6 +56,10 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Mar 11 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.48-21
- Remove condition for perl(deprecated)
- Add BRs: perl(Tie::Scalar), perl(Tie::StdScalar)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.48-20 * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.48-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save