forked from pool/perl-Test-Object
Compare commits
12 Commits
0ebc5a9878
...
cd6a0b3447
Author | SHA256 | Date | |
---|---|---|---|
cd6a0b3447 | |||
9ae6941af7 | |||
38733bc3f1 | |||
4284412e66 | |||
20a7ec5058 | |||
|
9954f78577 | ||
|
5520f8519e | ||
|
f2bb447b2b | ||
|
d42d4bfb7b | ||
|
e7cc0bdcad | ||
|
4e45134d23 | ||
|
c7c395d048 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b8d064bbbd1c7e472a75a72b9b52a6fc7185a4f4273b75fcf5fe58d2c80b5956
|
||||
size 19442
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d142a91b039928dc5d616c7bd9bb62ffb06e58991f00c54e26ef7e62ed61032a
|
||||
size 21685
|
3
Test-Object-0.08.tar.gz
Normal file
3
Test-Object-0.08.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65278964147837313f4108e55b59676e8a364d6edf01b3dc198aee894ab1d0bb
|
||||
size 25008
|
3
cpanspec.yml
Normal file
3
cpanspec.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
post_prep:
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 10 23:05:22 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 24 07:04:10 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.08
|
||||
see /usr/share/doc/packages/perl-Test-Object/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 08:21:48 UTC 2017 - coolo@suse.com
|
||||
|
||||
- patch the Makefile to build with perl 5.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:10:50 UTC 2011 - coolo@suse.com
|
||||
|
||||
- use original .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 19:20:50 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Test-Object
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,40 +12,28 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Test-Object
|
||||
%define cpan_name Test-Object
|
||||
Name: perl-Test-Object
|
||||
Version: 0.80.0
|
||||
Release: 0
|
||||
# 0.08 -> normalize -> 0.80.0
|
||||
%define cpan_version 0.08
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Thoroughly testing objects via registered handlers
|
||||
Version: 0.07
|
||||
Release: 6
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Test-Object/
|
||||
#Source: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Object-0.07.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Spec) >= 0.80
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Scalar::Util) >= 1.16
|
||||
BuildRequires: perl(Test::More) >= 0.42
|
||||
#
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Exporter)
|
||||
Requires: perl(File::Spec) >= 0.80
|
||||
Requires: perl(overload)
|
||||
Requires: perl(Scalar::Util) >= 1.16
|
||||
Requires: perl(Test::More) >= 0.42
|
||||
Provides: perl(Test::Object) = %{version}
|
||||
Provides: perl(Test::Object::Test) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
In situations where you have deep trees of classes, there is a common
|
||||
@@ -77,40 +65,27 @@ This also means that more than one test might be "counted" for each call to
|
||||
'object_ok'. You should account for this correctly in your expected test
|
||||
count.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Adam Kennedy <cpan@ali.as>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
### since 11.4 perl_process_packlist
|
||||
### removes .packlist, perllocal.pod files
|
||||
%if 0%{?suse_version} > 1130
|
||||
%perl_process_packlist
|
||||
%else
|
||||
# do not perl_process_packlist
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
|
||||
%endif
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes CONTRIBUTING README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user