rpms/Django/EL-5 Django.spec,1.8,1.9
Michel Alexandre Salim
salimma at fedoraproject.org
Fri Mar 13 02:48:20 UTC 2009
Author: salimma
Update of /cvs/pkgs/rpms/Django/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9187
Modified Files:
Django.spec
Log Message:
EL-5: build Django documentation
Index: Django.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Django/EL-5/Django.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Django.spec 14 Dec 2008 06:23:23 -0000 1.8
+++ Django.spec 13 Mar 2009 02:47:49 -0000 1.9
@@ -3,20 +3,21 @@
Name: Django
Version: 1.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A high-level Python Web framework
Group: Development/Languages
License: BSD
URL: http://www.djangoproject.com/
Source0: http://media.djangoproject.com/releases/%{version}/Django-%{version}-final.tar.gz
-Source1: simplejson-init.py
+# stub simplejson module that imports the system version
+Source1: simplejson-init.py
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Note: No longer required in development version > 0.95
# BuildRequires: python-setuptools
-BuildRequires: python-devel
+BuildRequires: python-devel python-sphinx
Requires: python-simplejson
%description
@@ -59,6 +60,9 @@
's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
>> %{name}.lang
+# build documentation
+(cd docs && make html)
+
# install man pages
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
cp -p docs/man/* $RPM_BUILD_ROOT%{_mandir}/man1/
@@ -86,9 +90,12 @@
%files doc
%defattr(-,root,root,-)
-%doc docs/*
+%doc docs/_build/html/*
%changelog
+* Thu Mar 12 2009 Michel Salim <salimma at fedoraproject.org> - 1.0.2-2
+- Build HTML documentation (bug #484070)
+
* Sun Dec 14 2008 Michel Salim <salimma at fedoraproject.org> - 1.0.2-1
- Update to 1.0.2
More information about the scm-commits
mailing list