From 96183479174d3225ae8831c6759e1512d16492c7 Mon Sep 17 00:00:00 2001 From: Lorenzo Gil Sanchez Date: Thu, 8 Aug 2013 00:36:44 +0200 Subject: [PATCH] Install docs in unversioned dir --- python-waitress.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-waitress.spec b/python-waitress.spec index f5b5c98..1315f7c 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -1,6 +1,8 @@ +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + Name: python-waitress Version: 0.8.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Waitress WSGI server License: ZPLv2.1 @@ -22,7 +24,7 @@ in the Python standard library. It runs on CPython on Unix and Windows under Python 2.6+ and Python 3.2. It is also known to run on PyPy 1.6.0 on UNIX. It supports HTTP/1.0 and HTTP/1.1. -For more information, see %{_docdir}/%{name}-%{version}/docs or +For more information, see %{_pkgdocdir}/docs or http://docs.pylonsproject.org/projects/waitress/en/latest/ . %package -n python3-waitress @@ -98,6 +100,11 @@ popd %changelog + +* Wed Aug 7 2013 Lorenzo Gil Sanchez - 0.8.5-2 +- Update description to use the new Fedora 20 _pkgdocdir macro, which + is also defined for backwards cmompatibility + * Wed Jul 31 2013 Lorenzo Gil Sanchez - 0.8.5-1 - Update to upstream