8
0

Compare commits

...

12 Commits

Author SHA256 Message Date
cd6a0b3447 Accepting request 1276520 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1276520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Object?expand=0&rev=15
2025-05-12 14:46:03 +00:00
9ae6941af7 Normalize CPAN version\n See https://github.com/openSUSE/cpanspec/issues/47 for details
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Object?expand=0&rev=20
2025-05-10 23:05:33 +00:00
38733bc3f1 Accepting request 568413 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/568413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Object?expand=0&rev=14
2018-01-24 14:26:36 +00:00
4284412e66 Accepting request 559702 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/559702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Object?expand=0&rev=18
2018-01-22 21:26:51 +00:00
20a7ec5058 Accepting request 530790 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/530790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Object?expand=0&rev=13
2017-10-03 21:19:56 +00:00
Stephan Kulow
9954f78577 Accepting request 530752 from devel:languages:perl:tobefixed
fix

OBS-URL: https://build.opensuse.org/request/show/530752
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Object?expand=0&rev=16
2017-10-03 08:54:11 +00:00
Stephan Kulow
5520f8519e replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Object?expand=0&rev=8
2011-12-06 17:48:28 +00:00
Stephan Kulow
f2bb447b2b Accepting request 92364 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Object?expand=0&rev=7
2011-11-21 11:47:40 +00:00
Stephan Kulow
d42d4bfb7b use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Object?expand=0&rev=13
2011-11-18 11:47:29 +00:00
Stephan Kulow
e7cc0bdcad use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Object?expand=0&rev=12
2011-11-17 15:51:57 +00:00
Sascha Peilicke
4e45134d23 Autobuild autoformatter for 65615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Object?expand=0&rev=5
2011-03-31 11:41:29 +00:00
Sascha Peilicke
c7c395d048 Accepting request 65615 from devel:languages:perl
Accepted submit request 65615 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Object?expand=0&rev=4
2011-03-31 11:41:19 +00:00
6 changed files with 53 additions and 56 deletions

View File

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

View File

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

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65278964147837313f4108e55b59676e8a364d6edf01b3dc198aee894ab1d0bb
size 25008

3
cpanspec.yml Normal file
View File

@@ -0,0 +1,3 @@
---
post_prep:
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL

View File

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

View File

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