[python-docs: 4/4] Used _pkgdocdir instead of _docdir
Tomas Radej
tradej at fedoraproject.org
Mon Dec 2 09:44:23 UTC 2013
commit 2996af090367cc930d99e3fe816e6538b326ff92
Author: Tomas Radej <tradej at redhat.com>
Date: Mon Dec 2 09:16:39 2013 +0100
Used _pkgdocdir instead of _docdir
python-docs.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-docs.spec b/python-docs.spec
index 6530b22..b8d7642 100644
--- a/python-docs.spec
+++ b/python-docs.spec
@@ -19,7 +19,7 @@
Name: %{python}-docs
# The Version needs to be in-sync with the "python" package:
Version: 2.7.5
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Documentation for the Python programming language
Group: Documentation
License: Python
@@ -98,7 +98,7 @@ mkdir -p %{buildroot}%{_infodir}
cp -v Doc/build/texinfo/python.info %{buildroot}%{_infodir}
# edit path to image file in info page
-sed -i -e 's,logging_flow\.png,%{_docdir}/%{name}/html/_images/&,' \
+sed -i -e 's,logging_flow\.png,%{_pkgdocdir}/html/_images/&,' \
%{buildroot}%{_infodir}/python.info
%post info
@@ -130,6 +130,9 @@ linkchecker \
%{_infodir}/python.info.gz
%changelog
+* Mon Dec 02 2013 Tomas Radej <tradej at redhat.com> - 2.7.5-6
+- Used _pkgdocdir instead of _docdir
+
* Tue Nov 26 2013 Tomas Radej <tradej at redhat.com> - 2.7.5-5
- Small tweaks of Suvayu's patch
More information about the scm-commits
mailing list