public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-SQL-Abstract] epel10: Specify all dependencies
@ 2026-08-06 9:21
0 siblings, 0 replies; only message in thread
From: @ 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 : 4ab1d94b7b52c2a760dbb262165e5b945449d419
Author : Petr Písař <ppisar@redhat.com>
Date : 2014-12-03T18:22:36+01:00
Stats : +55/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-SQL-Abstract/c/4ab1d94b7b52c2a760dbb262165e5b945449d419?branch=epel10
Log:
Specify all dependencies
---
diff --git a/perl-SQL-Abstract.spec b/perl-SQL-Abstract.spec
index 7894f90..f473567 100644
--- a/perl-SQL-Abstract.spec
+++ b/perl-SQL-Abstract.spec
@@ -1,35 +1,70 @@
Name: perl-SQL-Abstract
Version: 1.81
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Generate SQL from Perl data structures
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/SQL-Abstract
Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/SQL-Abstract-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(Class::Accessor::Grouped) >= 0.10005
-BuildRequires: perl(Clone) >= 0.31
+BuildRequires: perl
+BuildRequires: perl(inc::Module::Install) >= 1.06
+BuildRequires: perl(Module::Install::Makefile)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::WriteAll)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time:
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
+BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
-BuildRequires: perl(Exporter) >= 5.57
-BuildRequires: perl(MRO::Compat) >= 0.12
-BuildRequires: perl(Moo) >= 1.004002
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
-BuildRequires: perl(Getopt::Long::Descriptive) >= 0.091
+# DBIx::Class::Storage::Statistic used only with optional tests
+BuildRequires: perl(DBIx::Class::Storage::Statistics)
+BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(Hash::Merge) >= 0.12
BuildRequires: perl(List::Util)
+BuildRequires: perl(Method::Generate::Accessor)
+BuildRequires: perl(Method::Generate::Constructor)
+BuildRequires: perl(Moo) >= 1.004002
+BuildRequires: perl(Moo::Object)
+BuildRequires: perl(mro)
+# MRO::Compat 0.12 not needed since perl 5.9
BuildRequires: perl(Scalar::Util)
-BuildRequires: perl(Text::Balanced) >= 2.00
+BuildRequires: perl(Sub::Defer)
+BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Test::Builder)
+BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(Test::Deep) >= 0.101
+BuildRequires: perl(Text::Balanced) >= 2.00
+# Optional run-time:
+# Term::ANSIColor not usefull for tests
+# Tests:
+BuildRequires: perl(overload)
+BuildRequires: perl(Storable)
BuildRequires: perl(Test::Exception) >= 0.31
-BuildRequires: perl(Test::Warn)
BuildRequires: perl(Test::More) >= 0.92
+BuildRequires: perl(Test::Warn)
+# Optional tests:
+BuildRequires: perl(DBIx::Class) >= 0.08124
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires: perl(Class::Accessor::Grouped) >= 0.10005
-Requires: perl(Getopt::Long::Descriptive) >= 0.091
+Requires: perl(Data::Dumper)
+Requires: perl(Exporter) >= 5.57
Requires: perl(Hash::Merge) >= 0.12
+Requires: perl(Method::Generate::Accessor)
+Requires: perl(Method::Generate::Constructor)
+Requires: perl(Moo) >= 1.004002
+Requires: perl(Moo::Object)
+Requires: perl(mro)
+# MRO::Compat 0.12 not needed since perl 5.9
+Requires: perl(Sub::Defer)
+Requires: perl(Sub::Quote)
+Requires: perl(Test::Deep) >= 0.101
+Requires: perl(Text::Balanced) >= 2.00
%{?perl_default_filter}
+# Remove under-speciefed dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Exporter|Test::Deep)\\)$
%description
%{summary}.
@@ -38,12 +73,17 @@ Requires: perl(Hash::Merge) >= 0.12
Summary: Pretty Printing DebugObj
Group: Development/Libraries
License: GPL+ or Artistic
+# Optional run-time:
+# Term::ANSIColor
%description -n perl-DBIx-Class-Storage-Debug-PrettyPrint
%{summary}.
%prep
%setup -q -n SQL-Abstract-%{version}
+# Remove bundled modules
+rm -r ./inc
+sed -i -e '/^inc\//d' MANIFEST
%build
PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -70,6 +110,9 @@ SQLATEST_TESTER=1 make test
%{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm*
%changelog
+* Wed Dec 03 2014 Petr Pisar <ppisar@redhat.com> - 1.81-2
+- Specify all dependencies (bug #1168882)
+
* Mon Nov 24 2014 Tom Callaway <spot@fedoraproject.org> - 1.81-1
- update to 1.81
^ 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: Specify all dependencies
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox