Files
perl-File-Object/perl-File-Object.spec
Dirk Stoecker aafc1d3f77 Accepting request 1070477 from devel:languages:perl:autoupdate
- updated to 0.18
   see /usr/share/doc/packages/perl-File-Object/Changes
  0.18 2023-02-28T16:10:56+01:00
   - Add File::Fu to SEE ALSO section in doc.
   - Add IO::All to SEE ALSO section in doc.
   - Update copyright years.

OBS-URL: https://build.opensuse.org/request/show/1070477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Object?expand=0&rev=8
2023-03-10 10:42:36 +00:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package perl-File-Object
#
# Copyright (c) 2023 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name File-Object
Name: perl-File-Object
Version: 0.18
Release: 0
License: BSD-3-Clause
Summary: Object system for filesystem paths
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SK/SKIM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Utils) >= 0.14
BuildRequires: perl(Error::Pure) >= 0.3
BuildRequires: perl(Error::Pure::Utils) >= 0.16
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
BuildRequires: perl(Test::NoWarnings)
Requires: perl(Class::Utils) >= 0.14
Requires: perl(Error::Pure) >= 0.3
%{perl_requires}
%description
This provides an object oriented interface to file/directory paths, such as
actual, parent or explicit directory and relative paths to them.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes examples README
%license LICENSE
%changelog