Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2016-09-22 16:38:43 +0300
committerCasey Deccio <casey@deccio.net>2016-09-22 16:38:43 +0300
commit4acafb004aa2fc6c5b9c496ae05b88b2936620ec (patch)
tree9661ff3a89b9b96f8d45dfa7127fe0f949fe1db8
parent16f475c3d25011b5d28e5fbbfb3dded6eea04154 (diff)
Support rpm creation on python 2.6
-rw-r--r--MANIFEST-includejs.in7
-rw-r--r--MANIFEST.in7
-rw-r--r--contrib/rpm-install.sh1
3 files changed, 15 insertions, 0 deletions
diff --git a/MANIFEST-includejs.in b/MANIFEST-includejs.in
index c759114..9292fee 100644
--- a/MANIFEST-includejs.in
+++ b/MANIFEST-includejs.in
@@ -6,3 +6,10 @@ include doc/src/*dot
include doc/src/*svg
recursive-include contrib *
include external external/*/COPYRIGHT
+# The following are for versions of setuptools that don't seem to pull in the
+# files that are listed in setup.py
+include README.md
+include doc/images/warning.png doc/images/error.png doc/images/logo*png
+include doc/dnsviz-graph.html
+recursive-include doc/man *
+recursive-include share *
diff --git a/MANIFEST.in b/MANIFEST.in
index de3caab..2ae6c8c 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -6,3 +6,10 @@ include doc/src/*dot
include doc/src/*svg
recursive-include contrib *
recursive-exclude external *
+# The following are for versions of setuptools that don't seem to pull in the
+# files that are listed in setup.py
+include README.md
+include doc/images/warning.png doc/images/error.png doc/images/logo*png
+include doc/dnsviz-graph.html
+recursive-include doc/man *
+recursive-include share *
diff --git a/contrib/rpm-install.sh b/contrib/rpm-install.sh
new file mode 100644
index 0000000..3991e53
--- /dev/null
+++ b/contrib/rpm-install.sh
@@ -0,0 +1 @@
+python setup.py install --optimize=1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES ; sed -i -e 's,man/man\([[:digit:]]\)/\(.\+\.[[:digit:]]\)$,man/man\1/\2.gz,' INSTALLED_FILES