public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-SQL-Abstract] epel10: Do not build Class::Storage::Debug in bootstap mode
@ 2026-08-06  9:21 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-08-06  9:21 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-SQL-Abstract
            Branch : epel10
            Commit : 92cfb87510bdf7fee5745806c3c5a2c16579f687
            Author : Steve Traylen <steve.traylen@cern.ch>
            Date   : 2026-08-06T10:48:30+02:00
            Stats  : +11/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-SQL-Abstract/c/92cfb87510bdf7fee5745806c3c5a2c16579f687?branch=epel10

            Log:
            Do not build Class::Storage::Debug in bootstap mode

When running in perl_bootsrap == 1 mode

perl-DBIx-Class-Storage-Debug-PrettyPrint-2.000001-20.fc45.noarch.rpm

is generated however it cannot be installed since
DBIx::Class::Storage::Statistic is not available by definition of the
bootstrap.

Do not build perl-DBIx-Class-Storage-Debug-PrettyPrint in bootstrap
mode.

---
diff --git a/perl-SQL-Abstract.spec b/perl-SQL-Abstract.spec
index f63a297..9153fbf 100644
--- a/perl-SQL-Abstract.spec
+++ b/perl-SQL-Abstract.spec
@@ -1,6 +1,6 @@
 Name:           perl-SQL-Abstract
 Version:        2.000001
-Release:        20%{?dist}
+Release:        21%{?dist}
 Summary:        Generate SQL from Perl data structures
 # Automatically converted from old format: GPL+ or Artistic - review is highly recommended.
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
@@ -64,6 +64,7 @@ Requires:       perl(Text::Balanced) >= 2.00
 %description
 %{summary}.
 
+%if !%{defined perl_bootstrap}
 %package -n perl-DBIx-Class-Storage-Debug-PrettyPrint
 Summary:        Pretty Printing DebugObj
 # Automatically converted from old format: GPL+ or Artistic - review is highly recommended.
@@ -73,6 +74,7 @@ License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 
 %description -n perl-DBIx-Class-Storage-Debug-PrettyPrint
 %{summary}.
+%endif
 
 %package -n perl-DBIx-Class-SQLMaker-Role-SQLA2Passthrough
 Summary:	A test of future possibilities
@@ -110,10 +112,15 @@ make test
 %{_mandir}/man3/SQL::Abstract::Test.3pm*
 %{_mandir}/man3/SQL::Abstract::Tree.3pm*
 
+%if !%{defined perl_bootstrap}
 %files -n perl-DBIx-Class-Storage-Debug-PrettyPrint
 %license LICENSE
 %{perl_vendorlib}/DBIx/Class/Storage/
 %{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm*
+%else
+%exclude %{perl_vendorlib}/DBIx/Class/Storage/
+%exclude %{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm*
+%endif
 
 %files -n perl-DBIx-Class-SQLMaker-Role-SQLA2Passthrough
 %license LICENSE
@@ -121,6 +128,9 @@ make test
 %{_mandir}/man3/DBIx::Class::SQLMaker::Role::SQLA2Passthrough.3pm*
 
 %changelog
+* Thu Aug 6 2026 Steve Traylen <steve.traylen@cern.ch> - 2.000001-21
+- Do not build Storage-Debug-Prettyprint package in bootstrap mode.
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.000001-20
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-06  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06  9:21 [rpms/perl-SQL-Abstract] epel10: Do not build Class::Storage::Debug in bootstap mode Steve Traylen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox