From 042f51b30ae101d48a56cc7b53580c5d2f672c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Mon, 2 Mar 2015 15:19:30 +0100 Subject: [PATCH] Avoid X11 dependency by Subpackaging SQL::Translator::Producer::Diagram --- perl-SQL-Translator.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/perl-SQL-Translator.spec b/perl-SQL-Translator.spec index 360135f..425d920 100644 --- a/perl-SQL-Translator.spec +++ b/perl-SQL-Translator.spec @@ -1,7 +1,7 @@ Name: perl-SQL-Translator Summary: Manipulate structured data definitions (SQL and more) Version: 0.11021 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/SQL-Translator-%{version}.tar.gz @@ -127,6 +127,12 @@ producers, or to manipulate the parsed data via the built-in object model. Presently only the definition parts of SQL are handled (CREATE, ALTER), not the manipulation of data (INSERT, UPDATE, DELETE). +%package Producer-Diagram +Summary: ER diagram producer for SQL::Translator + +%description Producer-Diagram +ER diagram producer for SQL::Translator. + %prep %setup -q -n SQL-Translator-%{version} # Remove bundled modules @@ -154,8 +160,17 @@ make test %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man[13]/* +%exclude %{perl_vendorlib}/SQL/Translator/Producer/Diagram.pm +%exclude %{_mandir}/man3/SQL::Translator::Producer::Diagram.* + +%files Producer-Diagram +%{perl_vendorlib}/SQL/Translator/Producer/Diagram.pm +%{_mandir}/man3/SQL::Translator::Producer::Diagram.* %changelog +* Mon Mar 02 2015 Petr Šabata - 0.11021-2 +- Avoid X11 dependency by Subpackaging SQL::Translator::Producer::Diagram + * Tue Feb 03 2015 Petr Šabata - 0.11021-1 - 0.11021 bump