From 7350d20f1f7f3ade3217d7af56338e9ddf547924ed9139b4263a46b7976699b4 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 19 Nov 2019 13:33:28 +0000 Subject: [PATCH] Accepting request 749490 from home:pmonrealgonzalez:branches:devel:languages:perl - Update spec file * Remove doc files not needed and perl-FFI-CheckLib-rpmlintrc OBS-URL: https://build.opensuse.org/request/show/749490 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FFI-CheckLib?expand=0&rev=12 --- cpanspec.yml | 3 +-- perl-FFI-CheckLib-rpmlintrc | 35 ----------------------------------- perl-FFI-CheckLib.changes | 6 ++++++ perl-FFI-CheckLib.spec | 17 ++++++----------- 4 files changed, 13 insertions(+), 48 deletions(-) delete mode 100644 perl-FFI-CheckLib-rpmlintrc diff --git a/cpanspec.yml b/cpanspec.yml index 05200da..f2bd148 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -1,3 +1,2 @@ --- -sources: - - perl-FFI-CheckLib-rpmlintrc +description_paragraphs: 1 diff --git a/perl-FFI-CheckLib-rpmlintrc b/perl-FFI-CheckLib-rpmlintrc deleted file mode 100644 index aa24256..0000000 --- a/perl-FFI-CheckLib-rpmlintrc +++ /dev/null @@ -1,35 +0,0 @@ -# rpmlint complains about more or less empty example files here. -# They are no real libraries, but are named as such (which triggers rpmlint) -# Ignoring these false positives below: -setBadness('library-without-ldconfig-postin', 0); -setBadness('library-without-ldconfig-postun', 0); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libbar.so.1"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libbar.so.1.2"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libbar.so.1.2.3"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libcrypto.so.0.9.8"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libcrypto.so.1.0.0"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libfoo.so.1"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libfoo.so.1.2"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libfoo.so.1.2.3"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/lib/libfoo.so.2"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/lib/libfoo.so.2.3"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/lib/libfoo.so.2.3.4"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libxor.so.1"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libxor.so.1.2"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libxor.so.1.2.3"); -addFilter("W: library-without-ldconfig-postin /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libxor.so.1.2.4"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libbar.so.1"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libcrypto.so.0.9.8"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libcrypto.so.1.0.0"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libfoo.so.1"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libfoo.so.1.2"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libfoo.so.1.2.3"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libxor.so.1"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libxor.so.1.2"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libxor.so.1.2.3"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/usr/lib/libxor.so.1.2.4"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/lib/libfoo.so.2"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/lib/libfoo.so.2.3"); -addFilter("W: library-without-ldconfig-postun /usr/share/doc/packages/perl-FFI-CheckLib/corpus/unix/lib/libfoo.so.2.3.4"); -# some template files are even empty: keep them, but ignore the warnings -addFilter("zero-length /usr/share/doc/packages/perl-FFI-CheckLib/corpus/.*"); diff --git a/perl-FFI-CheckLib.changes b/perl-FFI-CheckLib.changes index fa2aa43..3574ebb 100644 --- a/perl-FFI-CheckLib.changes +++ b/perl-FFI-CheckLib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 19 10:34:38 UTC 2019 - Pedro Monreal Gonzalez + +- Update spec file + * Remove doc files not needed and perl-FFI-CheckLib-rpmlintrc + ------------------------------------------------------------------- Tue Nov 5 09:17:20 UTC 2019 - Lars Vogdt diff --git a/perl-FFI-CheckLib.spec b/perl-FFI-CheckLib.spec index 219f5c5..b3a3b64 100644 --- a/perl-FFI-CheckLib.spec +++ b/perl-FFI-CheckLib.spec @@ -1,7 +1,7 @@ # # spec file for package perl-FFI-CheckLib # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,12 +23,10 @@ Release: 0 Summary: Check that a library is available for FFI License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz -Source1: perl-FFI-CheckLib-rpmlintrc -Source2: cpanspec.yml +Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Load) @@ -48,11 +46,6 @@ provides a find_lib function that will return the full path to the found dynamic library, which can be feed directly into FFI::Platypus or another FFI system. -Although intended mainly for FFI modules via FFI::Platypus and similar, -this module does not actually use any FFI to do its detection and probing. -This module does not have any non-core runtime dependencies. The test suite -does depend on Test2::Suite. - %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 @@ -71,7 +64,9 @@ make test %files -f %{name}.files %defattr(-,root,root,755) -%doc author.yml Changes corpus example maint README +# MANUAL BEGIN +%doc Changes README +# MANUAL END %license LICENSE %changelog