File perl-Cache-Simple-TimedExpiry.spec of Package perl-Cache-Simple-TimedExpiry

# spec file for package perl-Cache-Simple-TimedExpiry
# Copyright (c) 2021 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

Name:           perl-Cache-Simple-TimedExpiry
%define         real_name Cache-Simple-TimedExpiry
Summary:        Set up a new cache object
License:        Artistic-1.0 OR GPL-1.0-or-later
Group:          Development/Libraries/Perl
Version:        0.27
Release:        0
Source:         %{real_name}-%{version}.tar.gz
BuildRequires:  perl-macros
BuildRequires:  perl(Module::Install)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Use this perl module to create new cache objects with a defined expire policy.

%setup -n %{real_name}-%{version}

perl Makefile.PL 
make %{?jobs:-j%jobs}

make test


rm -rf %{buildroot}

%files -f %{name}.files 
%defattr(-, root, root)
%doc Changes MANIFEST

openSUSE Build Service is sponsored by