[Python-modules-commits] [sphinx] 01/01: Do not fail on removing SOURCES.txt file when it does not exist.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Fri Oct 30 07:11:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch master
in repository sphinx.

commit 551cb4a639e54977cd51d9e1a2260d9052118b96
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Fri Oct 30 10:11:07 2015 +0300

    Do not fail on removing SOURCES.txt file when it does not exist.
---
 debian/changelog | 6 ++++++
 debian/rules     | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 19fccef..7df25db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sphinx (1.3.1-8) UNRELEASED; urgency=medium
+
+  * Do not fail on removing SOURCES.txt file when it does not exist.
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Fri, 30 Oct 2015 10:10:33 +0300
+
 sphinx (1.3.1-7) unstable; urgency=medium
 
   * Make libjs-sphinxdoc depend on libjs-jquery ≥ 1.11.1 and libjs-underscore
diff --git a/debian/rules b/debian/rules
index 4298729..b16b0bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,7 +78,7 @@ binary binary-indep: build-stamp
 	python3 setup.py \
 		build --build-lib build/py3/ \
 		install --no-compile --install-layout=deb --root $(debroot)
-	rm $(debroot)/usr/lib/python*/*-packages/Sphinx-*.egg-info/SOURCES.txt
+	rm -f $(debroot)/usr/lib/python*/*-packages/Sphinx-*.egg-info/SOURCES.txt
 	# move static files outside dist-packages
 	sed -i -e "s!^package_dir = .*!package_dir = '/usr/share/sphinx'!" \
 		$(debroot)$(py2_libdir)/sphinx/__init__.py \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx.git



More information about the Python-modules-commits mailing list