Fix provided packages in *-tests package

This commit is contained in:
Michal Josef Špaček 2022-12-07 15:50:32 +01:00
parent e450d6d1c5
commit 0faed2376f

View File

@ -9,7 +9,7 @@
Name: perl-Module-Runtime Name: perl-Module-Runtime
Version: 0.016 Version: 0.016
Release: 17%{?dist} Release: 18%{?dist}
Summary: Runtime module handling Summary: Runtime module handling
License: GPL-1.0-or-later OR Artistic-1.0-Perl License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Module-Runtime URL: https://metacpan.org/release/Module-Runtime
@ -35,6 +35,8 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Remove underspecified dependencies # Remove underspecified dependencies
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(t::Nested\\)$ %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(t::Nested\\)$
# Remove private modules
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
%description %description
The functions exported by this module deal with runtime handling of Perl The functions exported by this module deal with runtime handling of Perl
@ -86,6 +88,9 @@ make test
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%changelog %changelog
* Wed Dec 07 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.016-18
- Fix provided packages in *-tests package
* Sun Dec 04 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.016-17 * Sun Dec 04 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.016-17
- Package tests - Package tests
- Simplify build and install phases - Simplify build and install phases