This commit is contained in:
parent
7a40ef1b42
commit
8f94a44c71
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 10:09:10 CEST 2008 - dmueller@suse.de
|
||||
|
||||
- fix python version detection
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 16:51:30 CEST 2008 - ro@suse.de
|
||||
|
||||
|
@ -30,7 +30,7 @@ BuildRequires: graphviz gtkglext-devel libglade2-devel libgnomeui-devel
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
Version: 2.20.2
|
||||
Release: 3
|
||||
Release: 4
|
||||
AutoReqProv: on
|
||||
Summary: Graph Visualization Tools
|
||||
Group: Productivity/Graphics/Visualization/Graph
|
||||
@ -44,6 +44,7 @@ Patch13: graphviz-stddefs.patch
|
||||
Patch100: graphviz-plugins-fix_install_dirs.patch
|
||||
Patch101: graphviz-plugins-tcl_install_dir.patch
|
||||
Patch103: graphviz-2.18-do_not_use_ocamlopt.patch
|
||||
Patch104: python-version.diff
|
||||
Url: http://www.graphviz.org/
|
||||
License: IBM Public License
|
||||
Prefix: /usr
|
||||
@ -365,6 +366,7 @@ Authors:
|
||||
%patch100
|
||||
%patch101
|
||||
%patch103
|
||||
%patch104
|
||||
# Fix path in generated man pages
|
||||
sed -e 's$@LIB_DIR@$%{_libdir}$g' tclpkg/gv/gv_doc_langs.tcl >tclpkg/gv/gv_doc_langs.tcl.new && mv tclpkg/gv/gv_doc_langs.tcl.new tclpkg/gv/gv_doc_langs.tcl
|
||||
# remove broken macros
|
||||
@ -551,6 +553,8 @@ done
|
||||
%doc __doc/*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 17 2008 dmueller@suse.de
|
||||
- fix python version detection
|
||||
* Thu Aug 14 2008 ro@suse.de
|
||||
- drop get_release_number script
|
||||
- remove release requires in plugins package, require just
|
||||
|
@ -25,7 +25,7 @@ BuildRequires: xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXpm-devel
|
||||
BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel
|
||||
PreReq: /bin/rm
|
||||
Version: 2.20.2
|
||||
Release: 23
|
||||
Release: 41
|
||||
AutoReqProv: on
|
||||
Summary: Graph Visualization Tools
|
||||
Group: Productivity/Graphics/Visualization/Graph
|
||||
|
11
python-version.diff
Normal file
11
python-version.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -1001,7 +1001,7 @@ else
|
||||
if test "x$PYTHON" = "x"; then
|
||||
use_python="No (python not available)"
|
||||
else
|
||||
- PYTHON_VERSION=`$PYTHON -V 2>&1 | $GREP Python | cut -d ' ' -f 2`
|
||||
+ PYTHON_VERSION=`python -c "import sys; print '%d.%d' % (sys.version_info[[0:2]])"`
|
||||
if test "x$PYTHON_VERSION" = "x"; then
|
||||
PYTHON=
|
||||
else
|
Loading…
Reference in New Issue
Block a user