8
0

Accepting request 747305 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/747305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Convert-UUlib?expand=0&rev=28
This commit is contained in:
2019-11-11 12:01:27 +00:00
committed by Git OBS Bridge
5 changed files with 81 additions and 25 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0cd81bc21377fad191f89aa427733efe5b7e75ca1889e9317945ad448c6388ea
size 236213

3
Convert-UUlib-1.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5a24bba864708329b5112d538b5f5da10bc140b1642977914da0bb911a658b3
size 237454

29
cpanspec.yml Normal file
View File

@@ -0,0 +1,29 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
Provides: p_conulb
Obsoletes: p_conulb
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: GPL-1.0-or-later
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Nov 9 10:53:22 UTC 2019 - <tina.mueller@suse.com>
- Add manual license GPL-1.0-or-later to cpanspec.yml (see COPYING file in
the source)
-------------------------------------------------------------------
Fri Oct 25 10:46:24 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Regenerate spec with newest cpanspec
* Add manual dependencies to cpanspec.yml
-------------------------------------------------------------------
Fri Oct 25 09:39:40 UTC 2019 - <timueller+perl@suse.de>
- updated to 1.6
see /usr/share/doc/packages/perl-Convert-UUlib/Changes
1.6 Thu Oct 24 17:11:54 CEST 2019
- fix heap overflow (testcase by Noel Duffy, reported
by Robert Scheck). The defense-in-depth mechanism based
on mmap should make this unexploitable for other than denial
of service, on systems supporting mmap/mprotect.
-------------------------------------------------------------------
Tue Sep 25 15:50:19 UTC 2018 - pmonrealgonzalez@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Convert-UUlib
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,52 +12,55 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Convert-UUlib
Name: perl-Convert-UUlib
Version: 1.5
Version: 1.6
Release: 0
Summary: Perl interface to the uulib library
License: GPL-1.0-or-later OR Artistic-1.0
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
%define cpan_name Convert-UUlib
Summary: Perl interface to the uulib library (a.k.a. uudeview/uuenview)
License: GPL-1.0-or-later
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
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Canary::Stability)
%{perl_requires}
# MANUAL BEGIN
Provides: p_conulb
Obsoletes: p_conulb
%{perl_requires}
# MANUAL END
%description
A Perl interface to the uulib library
Read the file doc/library.pdf from the distribution for in-depth
information about the C-library used in this interface, and the rest of
this document and especially the non-trivial decoder program at the end.
%prep
%setup -q -n %{cpan_name}-%{version}
# ---------------------------------------------------------------------------
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make %{?_smp_mflags} test
# ---------------------------------------------------------------------------
make test
%install
make DESTDIR=%{buildroot} install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%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
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes doc example-decoder README
%license COPYING COPYING.Artistic COPYING.GNU
%doc Changes MANIFEST README example-decoder doc
%changelog