Compare commits

...

10 Commits

Author SHA256 Message Date
6d728f0087 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=12
2024-08-03 17:31:36 +00:00
Stephan Kulow
8a398cfda5 Accepting request 532662 from home:olh:branches:devel:languages:perl
- Require Module::Install for perl 5.26

OBS-URL: https://build.opensuse.org/request/show/532662
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=11
2017-10-10 05:24:11 +00:00
Stephan Kulow
4b229ae04d Accepting request 295984 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/295984
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=10
2015-04-14 05:04:03 +00:00
Stephan Kulow
86557aca1b use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=9
2011-11-17 15:52:18 +00:00
Stephan Kulow
88ddcdf23e OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=7 2011-11-11 11:23:18 +00:00
Vítězslav Čížek
863d69191c - bzipped source tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=6
2011-02-02 13:51:42 +00:00
Stephan Kulow
ab438aba3c always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=5
2010-12-03 14:52:58 +00:00
Stephan Kulow
0e2a9124c7 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=4
2010-11-30 19:28:52 +00:00
Stephan Kulow
3929419200 - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=3
2010-11-29 18:59:44 +00:00
Stephan Kulow
f1f2a13b38 add perl as explicit buildrequire
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Signature?expand=0&rev=2
2010-10-19 08:47:28 +00:00
4 changed files with 106 additions and 35 deletions

View File

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

View File

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

View 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

View File

@@ -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