Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
zimbra:collaboration:8.7
zimbra-perl-task-weaken
task-weaken.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File task-weaken.spec of Package zimbra-perl-task-weaken
Summary: Task::Weaken - Ensure that a platform has weaken support Name: zimbra-perl-task-weaken Version: 1.04 Release: 1zimbra8.7b1.el7 License: GPL+ or Artistic Source: %{name}-%{version}.tar.gz Packager: Zimbra Packaging Services <packaging-devel@zimbra.com> Group: Development/Languages BuildRequires: zimbra-perl-base Requires: zimbra-perl-base AutoReqProv: no URL: https://metacpan.org/release/Task-Weaken %description One recurring problem in modules that use Scalar::Util's weaken function is that it is not present in the pure-perl variant. While this isn't necesarily always a problem in a straight CPAN-based Perl environment, some operating system distributions only include the pure-Perl versions, don't include the XS version, and so weaken is then "missing" from the platform, despite passing a dependency on Scalar::Util successfully. %define debug_package %{nil} %prep %setup -n Task-Weaken-%{version} %build perl -I /opt/zimbra/common/lib/perl5 Makefile.PL INSTALL_BASE=/opt/zimbra/common \ INSTALLSITEMAN1DIR=/opt/zimbra/common/share/man/man1 INSTALLSITEMAN3DIR=/opt/zimbra/common/share/man/man3 \ INSTALLMAN3DIR=/opt/zimbra/common/share/man/man1 INSTALLVENDORMAN3DIR=/opt/zimbra/common/share/man/man1 \ INSTALLMAN3DIR=/opt/zimbra/common/share/man/man3 INSTALLVENDORMAN3DIR=/opt/zimbra/common/share/man/man3 LIB=/opt/zimbra/common/lib/perl5 PERL5LIB=/opt/zimbra/common/lib/perl5 make test # remove .packlist and perllocal.pod # $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist # $(DESTINSTALLSITEARCH)/perllocal.pod %define perl_archname %(perl -MConfig -e 'print $Config{archname}') %install make install DESTDIR=${RPM_BUILD_ROOT} rm -rf %{buildroot}/opt/zimbra/common/lib/perl5/%{perl_archname} %files %defattr(-,root,root) /opt/zimbra/common/lib /opt/zimbra/common/share/man
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor