[packages/gcstar] fixed _noautoprov syntax
sls
sls at pld-linux.org
Mon Mar 24 17:13:41 CET 2014
commit b6cf9f0b21376e7307d5a60362a7cd8dd1b8bef2
Author: Szymon Siwek <sls at pld-linux.org>
Date: Sat Mar 15 14:58:21 2014 +0000
fixed _noautoprov syntax
gcstar.spec | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gcstar.spec b/gcstar.spec
index ad2aaf6..fded355 100644
--- a/gcstar.spec
+++ b/gcstar.spec
@@ -38,12 +38,10 @@ Requires(post,postun): desktop-file-utils
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# parts of Gtk2.pm package
-%define gtk2_subpkgs Dialog\\\\|MenuBar\\\\|MessageDialog\\\\|ScrolledWindow\\\\|Toolbar\\\\|TreeView\\\\|VBox\\\\|Window
-
-# don't require/provide itself, it isn't in standard search path
-%define _noautoprov ^perl(GC.*)$
-%define _noautoreq ^perl(GC.*)$ ^perl(Gtk2::\\\\(%{gtk2_subpkgs}\\\\))$
+# don't provide itself, it isn't in standard search path
+%define _noautoprov 'perl\\(GC.*\\)'
+# don't require itself, it isn't in standard search path and subpackages of Gtk2.pm
+%define _noautoreq_perl GC.* Gtk2::Dialog Gtk2::MenuBar Gtk2::MessageDialog Gtk2::ScrolledWindow Gtk2::Toolbar Gtk2::TreeView Gtk2::VBox Gtk2::Window
%description
GCstar is an application to manage different kind of collections. It
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gcstar.git/commitdiff/a267bcc26d7df710cfddc17c962b9dd18091d251
More information about the pld-cvs-commit
mailing list