14
0

- Regenerate spec file with py2pack;

- Bzip2 source code;
- Add docdir.patch to fix documentation path.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygraphviz?expand=0&rev=2
This commit is contained in:
Alexandre Rogoski
2011-03-28 13:34:41 +00:00
committed by Git OBS Bridge
parent cd8b611d83
commit 3a7a550caf
6 changed files with 73 additions and 41 deletions

13
docdir.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: setup.py
===================================================================
--- setup.py.orig
+++ setup.py
@@ -135,7 +135,7 @@ else:
execfile(os.path.join('pygraphviz','release.py'))
packages = ["pygraphviz","pygraphviz.tests"]
-docdirbase = 'share/doc/pygraphviz-%s' % version
+docdirbase = 'share/doc/packages/pygraphviz-%s' % version
data = [(docdirbase, glob("*.txt")),
(os.path.join(docdirbase, 'examples'),glob("examples/*.py")),
(os.path.join(docdirbase, 'examples'),glob("examples/*.dat")),