Sync from SUSE:SLFO:Main perl-Class-Factory-Util revision e9c89d7a6126ab996588bf9764a62aa9
This commit is contained in:
parent
dd15a02404
commit
15b40f4465
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 6 22:17:37 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 18 11:10:45 UTC 2011 - coolo@suse.com
|
Fri Nov 18 11:10:45 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Class-Factory-Util
|
# spec file for package perl-Class-Factory-Util
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,51 +12,47 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-Class-Factory-Util
|
|
||||||
%define cpan_name Class-Factory-Util
|
%define cpan_name Class-Factory-Util
|
||||||
|
Name: perl-Class-Factory-Util
|
||||||
|
Version: 1.700.0
|
||||||
|
Release: 0
|
||||||
|
# 1.7 -> normalize -> 1.700.0
|
||||||
|
%define cpan_version 1.7
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Summary: Provide utility methods for factory classes
|
Summary: Provide utility methods for factory classes
|
||||||
Version: 1.7
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Release: 1
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
Url: http://search.cpan.org/dist/Class-Factory-Util/
|
|
||||||
#Source: http://www.cpan.org/modules/by-module/Class/Class-Factory-Util-%{version}.tar.bz2
|
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Module::Build)
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
Provides: perl(Class::Factory::Util) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module exports a method that is useful for factory classes.
|
This module exports a method that is useful for factory classes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
perl Build.PL --installdirs=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
./Build build --flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%doc Changes README
|
||||||
%doc Changes LICENSE README
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user