2024-07-26 20:56:47 +00:00
committed by Git OBS Bridge
parent 3494561f93
commit 99c34e1ac3

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Object-Tiny
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,20 +16,22 @@
#
Name: perl-Object-Tiny
Version: 1.09
Release: 0
%define cpan_name Object-Tiny
Summary: Class building as simple as it gets
Name: perl-Object-Tiny
Version: 1.90.0
Release: 0
# 1.09 -> normalize -> 1.90.0
%define cpan_version 1.09
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Summary: Class building as simple as it gets
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
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(Object::Tiny) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -105,11 +107,11 @@ And that's really all there is to it. Let a million simple data classes
bloom. Features? We don't need no stinking features.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -120,7 +122,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING examples README
%license LICENSE