forked from pool/perl-Convert-UUlib
- update to 1.4 - fix a heap overflow (testcase by Krzysztof Wojtaś). - on systems that support it (posix + mmap + map_anonymous), allocate all dynamic areas via mmap and put four guard pages around them, to catch similar heap overflows safely in the future. - find a safer way to pass in CC/CFLAGS to uulib. - added stability canary support. OBS-URL: https://build.opensuse.org/request/show/638238 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-UUlib?expand=0&rev=27
64 lines
1.9 KiB
RPMSpec
64 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package perl-Convert-UUlib
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Convert-UUlib
|
|
Name: perl-Convert-UUlib
|
|
Version: 1.5
|
|
Release: 0
|
|
Summary: Perl interface to the uulib library
|
|
License: GPL-1.0-or-later OR Artistic-1.0
|
|
Group: Development/Libraries/Perl
|
|
Url: https://metacpan.org/pod/Convert::UUlib
|
|
Source: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Canary::Stability)
|
|
Provides: p_conulb
|
|
Obsoletes: p_conulb
|
|
%{perl_requires}
|
|
|
|
%description
|
|
A Perl interface to the uulib library
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
# ---------------------------------------------------------------------------
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make %{?_smp_mflags}
|
|
|
|
%check
|
|
make %{?_smp_mflags} test
|
|
# ---------------------------------------------------------------------------
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install_vendor
|
|
%perl_process_packlist
|
|
|
|
%files
|
|
%dir %{perl_vendorarch}/Convert
|
|
%{perl_vendorarch}/Convert/UUlib.pm
|
|
%dir %{perl_vendorarch}/auto/Convert
|
|
%{perl_vendorarch}/auto/Convert/UUlib
|
|
%{_mandir}/man3/Convert::UUlib.3pm.gz
|
|
%license COPYING COPYING.Artistic COPYING.GNU
|
|
%doc Changes MANIFEST README example-decoder doc
|
|
|
|
%changelog
|