Files
perl-Class-Utils/perl-Class-Utils.spec
Stephan Kulow eddb8ccea8 Accepting request 574008 from devel:languages:perl:autoupdate
- updated to 0.08
   see /usr/share/doc/packages/perl-Class-Utils/Changes
  0.08 2018-01-22T16:30:04+01:00
   - Fix Makefile.PL for new version of Perl and no default »use lib '.'«.
   - Update Module::Install to 1.19 version.
   - Update author name.
   - Update copyright years.

OBS-URL: https://build.opensuse.org/request/show/574008
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Utils?expand=0&rev=3
2018-02-08 06:11:45 +00:00

64 lines
1.8 KiB
RPMSpec

#
# spec file for package perl-Class-Utils
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Class-Utils
Version: 0.08
Release: 0
%define cpan_name Class-Utils
Summary: Class utilities
License: BSD-3-Clause
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Class-Utils/
Source0: https://cpan.metacpan.org/authors/id/S/SK/SKIM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Error::Pure) >= 0.09
BuildRequires: perl(Readonly)
BuildRequires: perl(Test::NoWarnings)
Requires: perl(Error::Pure) >= 0.09
Requires: perl(Readonly)
%{perl_requires}
%description
Class utilities.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples README
%license LICENSE
%changelog