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
This commit is contained in:
parent
0d2b0be073
commit
7350d20f1f
@ -1,3 +1,2 @@
|
|||||||
---
|
---
|
||||||
sources:
|
description_paragraphs: 1
|
||||||
- perl-FFI-CheckLib-rpmlintrc
|
|
||||||
|
@ -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/.*");
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 19 10:34:38 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
||||||
|
|
||||||
|
- Update spec file
|
||||||
|
* Remove doc files not needed and perl-FFI-CheckLib-rpmlintrc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 5 09:17:20 UTC 2019 - Lars Vogdt <lars@linux-schulserver.de>
|
Tue Nov 5 09:17:20 UTC 2019 - Lars Vogdt <lars@linux-schulserver.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-FFI-CheckLib
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Summary: Check that a library is available for FFI
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
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
|
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: perl-FFI-CheckLib-rpmlintrc
|
Source1: cpanspec.yml
|
||||||
Source2: cpanspec.yml
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Load)
|
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
|
dynamic library, which can be feed directly into FFI::Platypus or another
|
||||||
FFI system.
|
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
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
@ -71,7 +64,9 @@ make test
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc author.yml Changes corpus example maint README
|
# MANUAL BEGIN
|
||||||
|
%doc Changes README
|
||||||
|
# MANUAL END
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user