Compare commits
10 Commits
3ab84bf9f0
...
6d728f0087
Author | SHA256 | Date | |
---|---|---|---|
6d728f0087 | |||
|
8a398cfda5 | ||
|
4b229ae04d | ||
|
86557aca1b | ||
|
88ddcdf23e | ||
|
863d69191c | ||
|
ab438aba3c | ||
|
0e2a9124c7 | ||
|
3929419200 | ||
|
f1f2a13b38 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:08375ba37c26d3c062e4d54bf0042b51ab20f4f7ef5b9e5cb23cc0829d2befd5
|
||||
size 18159
|
3
Test-Signature-1.11.tar.gz
Normal file
3
Test-Signature-1.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48792c788a6068893600c522fc27210a22b58d7959f345ea6a67c8644458c2fc
|
||||
size 25292
|
43
perl-Test-Signature.changes
Normal file
43
perl-Test-Signature.changes
Normal file
@@ -0,0 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 9 06:17:35 UTC 2017 - olaf@aepfle.de
|
||||
|
||||
- Require Module::Install for perl 5.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 18:09:28 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.11
|
||||
see /usr/share/doc/packages/perl-Test-Signature/Changes
|
||||
|
||||
[1.11 - Wed Apr 8 19:48:14 CST 2015]
|
||||
|
||||
* Compatibility with Module::Signature 0.75+.
|
||||
|
||||
Reported by: @pghmcfc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 2 13:41:37 UTC 2011 - vcizek@novell.com
|
||||
|
||||
- bzipped source tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 19:20:51 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:31:15 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove /var/adm/perl-modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 08:39:08 UTC 2010 - coolo@novell.com
|
||||
|
||||
- add perl as explicit buildrequire
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 8 00:00:00 UTC 2008 - gerrit.beine@gmx.de
|
||||
|
||||
- first release 1.10
|
||||
|
||||
|
@@ -1,44 +1,72 @@
|
||||
%define cpan_name Test-Signature
|
||||
#
|
||||
# spec file for package perl-Test-Signature
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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.
|
||||
|
||||
Name: perl-%cpan_name
|
||||
Version: 1.10
|
||||
Release: 1
|
||||
Provides: %cpan_name
|
||||
Requires: perl = %{perl_version}
|
||||
Group: Development/Libraries/Perl
|
||||
License: GPL
|
||||
URL: http://search.cpan.org/dist/Test-Signature/
|
||||
Summary: Automated SIGNATURE testing
|
||||
Source: %cpan_name-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Test-Signature
|
||||
Name: perl-Test-Signature
|
||||
Version: 1.110.0
|
||||
Release: 0
|
||||
# 1.11 -> normalize -> 1.110.0
|
||||
%define cpan_version 1.11
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Automated SIGNATURE testing
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
|
||||
Provides: perl(Test::Signature) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Test::Signature verifies that the Module::Signature generated signature of a module is correct.
|
||||
|
||||
'Module::Signature' allows you to verify that a distribution has not been
|
||||
tampered with. 'Test::Signature' lets that be tested as part of the
|
||||
distribution's test suite.
|
||||
|
||||
By default, if 'Module::Signature' is not installed then it will just say
|
||||
so and not fail the test. That can be overridden though.
|
||||
|
||||
*IMPORTANT*: This is not a substitute for the users verifying the
|
||||
distribution themselves. By the time this module is run, the users will
|
||||
have already run your _Makefile.PL_ or _Build.PL_ scripts which could have
|
||||
been compromised.
|
||||
|
||||
This module is more for ensuring you've updated your signature
|
||||
appropriately before distributing, and for preventing accidental errors
|
||||
during transmission or packaging.
|
||||
|
||||
%prep
|
||||
%setup -q -n %cpan_name-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
# clean up the hard disc after build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Test
|
||||
%{perl_vendorarch}/auto/Test
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog -n %{name}
|
||||
* Sun Jun 08 2008 - gerrit.beine@gmx.de
|
||||
- first release 1.10
|
||||
%files -f %{name}.files
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user