2014-04-17 20:41:57 +00:00
|
|
|
Name: perl-MouseX-Getopt
|
|
|
|
Summary: Mouse role for processing command line options
|
2019-01-28 09:20:26 +00:00
|
|
|
Version: 0.38
|
2021-03-15 09:45:51 +00:00
|
|
|
Release: 12%{?dist}
|
2014-04-17 20:41:57 +00:00
|
|
|
License: GPL+ or Artistic
|
2018-06-04 12:37:37 +00:00
|
|
|
URL: https://metacpan.org/release/MouseX-Getopt
|
2019-01-28 09:20:26 +00:00
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/MouseX/MouseX-Getopt-%{version}.tar.gz
|
2021-03-15 09:45:51 +00:00
|
|
|
Patch0: MouseX-Getopt-0.38-GLD-0.107.patch
|
2014-04-17 20:41:57 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
# Module Build
|
2016-06-24 08:39:42 +00:00
|
|
|
BuildRequires: perl-generators
|
2018-08-21 18:41:02 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2016-07-13 07:44:12 +00:00
|
|
|
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
2014-04-17 20:41:57 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Module Runtime
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Getopt::Long) >= 2.37
|
|
|
|
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081
|
|
|
|
BuildRequires: perl(Mouse) >= 0.64
|
|
|
|
BuildRequires: perl(Mouse::Meta::Attribute)
|
|
|
|
BuildRequires: perl(Mouse::Role)
|
|
|
|
BuildRequires: perl(Mouse::Util::TypeConstraints)
|
|
|
|
# Test Suite
|
2016-07-13 07:44:12 +00:00
|
|
|
BuildRequires: perl(File::Spec)
|
2014-04-17 20:41:57 +00:00
|
|
|
BuildRequires: perl(Mouse::Meta::Class)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.21
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::Mouse)
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.21
|
|
|
|
# Optional Tests (have circular dependencies)
|
|
|
|
%if 0%{!?perl_bootstrap:1}
|
2014-04-25 14:02:54 +00:00
|
|
|
BuildRequires: perl(MouseX::ConfigFromFile)
|
|
|
|
BuildRequires: perl(MouseX::SimpleConfig) >= 0.07
|
2014-04-17 20:41:57 +00:00
|
|
|
%endif
|
|
|
|
# Runtime
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(Mouse) >= 0.64
|
|
|
|
Requires: perl(Mouse::Meta::Attribute)
|
|
|
|
|
|
|
|
# Filter under-specified dependency
|
|
|
|
%global __requires_exclude ^perl\\(Mouse\\)$
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a Mouse role that provides an alternate constructor for creating
|
|
|
|
objects using parameters passed in from the command line.
|
|
|
|
|
|
|
|
%prep
|
2015-04-02 07:21:08 +00:00
|
|
|
%setup -q -n MouseX-Getopt-%{version}
|
2015-02-05 15:01:49 +00:00
|
|
|
|
2021-03-15 09:45:51 +00:00
|
|
|
# Fix compatibility with GLD 0.107
|
2021-03-13 16:02:51 +00:00
|
|
|
%patch0
|
|
|
|
|
2014-04-17 20:41:57 +00:00
|
|
|
%build
|
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
|
|
|
|
%check
|
2021-03-15 09:45:51 +00:00
|
|
|
./Build test
|
2014-04-17 20:41:57 +00:00
|
|
|
|
|
|
|
%files
|
2019-01-28 09:20:26 +00:00
|
|
|
# Note: malformed LICENSE file in 0.35 .. 0.38 not shipped
|
2014-04-17 20:41:57 +00:00
|
|
|
# https://github.com/gfx/mousex-getopt/issues/2
|
|
|
|
%doc Changes README.md
|
|
|
|
%{perl_vendorlib}/MouseX/
|
|
|
|
%{_mandir}/man3/MouseX::Getopt.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::Basic.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::Dashes.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::GLD.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::NoGetopt.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::Trait.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::Meta::Attribute::Trait::NoGetopt.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::OptionTypeMap.3*
|
|
|
|
%{_mandir}/man3/MouseX::Getopt::Strict.3*
|
|
|
|
|
|
|
|
%changelog
|
2021-03-15 09:45:51 +00:00
|
|
|
* Mon Mar 15 2021 Paul Howarth <paul@city-fan.org> - 0.38-12
|
|
|
|
- Fix compatibility with GLD 0.107
|
|
|
|
|
2021-03-13 16:02:51 +00:00
|
|
|
* Sat Mar 13 2021 Paul Howarth <paul@city-fan.org> - 0.38-11
|
|
|
|
- Fix compatibility with GLD 0.106
|
|
|
|
|
2021-01-27 03:18:42 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 17:33:01 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-26 15:31:14 +00:00
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-8
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
2020-06-23 10:28:43 +00:00
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-7
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
2020-01-30 02:46:44 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 05:10:37 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-02 20:55:45 +00:00
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-4
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
2019-05-31 17:38:40 +00:00
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-3
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
2019-02-01 22:44:17 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-28 09:20:26 +00:00
|
|
|
* Mon Jan 28 2019 Paul Howarth <paul@city-fan.org> - 0.38-1
|
|
|
|
- Update to 0.38
|
|
|
|
- Cope with GLD output changes in version 0.103 (GH#13)
|
|
|
|
|
2018-08-21 18:41:02 +00:00
|
|
|
* Tue Aug 21 2018 Paul Howarth <paul@city-fan.org> - 0.37-10
|
|
|
|
- Fix compatibility with GLD 0.103 (GH#12, GH#13)
|
|
|
|
|
2018-07-13 18:50:50 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-01 06:52:02 +00:00
|
|
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-8
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
2018-06-30 01:47:28 +00:00
|
|
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-7
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-02-08 23:21:01 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 05:15:29 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-07 13:47:55 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-4
|
|
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
|
2017-06-06 13:54:09 +00:00
|
|
|
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-3
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-11 04:24:20 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-07-13 07:44:12 +00:00
|
|
|
* Wed Jul 13 2016 Paul Howarth <paul@city-fan.org> - 0.37-1
|
|
|
|
- Update to 0.37
|
|
|
|
- Cope with GLD output changes in version 0.100 (GH#10)
|
|
|
|
- Switch to Module::Build::Tiny flow
|
|
|
|
|
2016-07-12 13:29:28 +00:00
|
|
|
* Tue Jul 12 2016 Paul Howarth <paul@city-fan.org> - 0.36-8
|
|
|
|
- Fix FTBFS with Geopt::Long::Descriptive 0.100
|
|
|
|
|
2016-05-18 16:29:39 +00:00
|
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-7
|
|
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
|
2016-05-16 17:45:27 +00:00
|
|
|
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-6
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 14:54:42 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.36-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 04:51:06 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.36-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-10 12:53:29 +00:00
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-3
|
|
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
|
2015-06-08 13:05:44 +00:00
|
|
|
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-04-02 07:21:08 +00:00
|
|
|
* Thu Apr 2 2015 Paul Howarth <paul@city-fan.org> - 0.36-1
|
|
|
|
- Update to 0.36
|
|
|
|
- Fix tests that follow GLD changes
|
|
|
|
(https://github.com/gfx/mousex-getopt/pull/6)
|
|
|
|
- This release by GFUJI → update source URL and directory case
|
|
|
|
|
2015-02-05 15:01:49 +00:00
|
|
|
* Thu Feb 5 2015 Paul Howarth <paul@city-fan.org> - 0.35-7
|
|
|
|
- Fix FTBFS with Geopt::Long::Descriptive ≥ 0.99 (#1189458)
|
|
|
|
https://github.com/gfx/mousex-getopt/issues/5
|
|
|
|
https://github.com/gfx/mousex-getopt/pull/6
|
|
|
|
|
2014-09-08 20:23:09 +00:00
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-6
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
2014-09-01 19:36:57 +00:00
|
|
|
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-5
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 07:44:51 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-04-25 14:02:54 +00:00
|
|
|
* Fri Apr 25 2014 Paul Howarth <paul@city-fan.org> - 0.35-3
|
|
|
|
- Add buildreqs for optional tests now they're available
|
|
|
|
|
2014-04-17 20:41:57 +00:00
|
|
|
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.35-2
|
|
|
|
- Incorporate feedback from package review (#1088856)
|
|
|
|
- Don't ship bogus LICENSE file
|
|
|
|
(https://github.com/gfx/mousex-getopt/issues/2)
|
|
|
|
- Make upstream URL refer to current release
|
|
|
|
- Upstream wants Module::Build ≥ 0.38
|
|
|
|
- BR:/R: perl(Mouse::Meta::Attribute)
|
|
|
|
- BR: perl(Scalar::Util) for test suite
|
|
|
|
- R: perl(Mouse) ≥ 0.64
|
|
|
|
|
|
|
|
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.35-1
|
|
|
|
- Update to 0.35
|
|
|
|
- GLD 0.097 no longer defaults to no_ignore_case (CPAN RT#93593)
|
2015-04-02 07:21:08 +00:00
|
|
|
- This release by TOKUHIROM → update source URL and directory case
|
2014-04-17 20:41:57 +00:00
|
|
|
- Switch to Module::Build flow
|
|
|
|
- Release tests no longer included
|
|
|
|
|
|
|
|
* Thu Apr 17 2014 Paul Howarth <paul@city-fan.org> - 0.34-1
|
|
|
|
- Initial RPM version
|