[packages/perl-Wx] define pdir macro for perl .packlist, etc cleanup
glen
glen at pld-linux.org
Thu Jun 11 14:10:23 CEST 2015
commit fb705e1ea8ca5ccb2b40bcd565754a0438afa686
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jun 11 15:10:19 2015 +0300
define pdir macro for perl .packlist, etc cleanup
perl-Wx.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/perl-Wx.spec b/perl-Wx.spec
index 084a6ac..58c30c3 100644
--- a/perl-Wx.spec
+++ b/perl-Wx.spec
@@ -10,11 +10,12 @@
%bcond_without unicode # ANSI instead of Unicode version of wxGTK
%bcond_with gtk3 # wxGTK3 instead of wxGTK2
%bcond_with tests # "make test" (requires $DISPLAY)
-#
+
%define wxpkg wxGTK%{?with_gtk3:3}%{!?with_gtk3:2}%{?with_unicode:-unicode}
%define wx_ver %(rpm -q wxWidgets-devel --qf '%%{VERSION}')
%define wx_ver_tag %(echo %{wx_ver} | tr . _)
%define alien_wxcfg gtk%{!?with_gtk3:2}_%{wx_ver_tag}%{?with_unicode:_uni}_gcc_3_4
+%define pdir Wx
%include /usr/lib/rpm/macros.perl
Summary: wxPerl - a Perl wrapper for the wxWidgets C++ GUI toolkit
Summary(pl.UTF-8): wxPerl - wrapper toolkitu graficznego C++ wxWidgets dla Perla
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Wx.git/commitdiff/fb705e1ea8ca5ccb2b40bcd565754a0438afa686
More information about the pld-cvs-commit
mailing list