rpms/Django/devel Django.spec,1.17,1.18
Michel Alexandre Salim
salimma at fedoraproject.org
Fri Mar 13 01:41:28 UTC 2009
Author: salimma
Update of /cvs/pkgs/rpms/Django/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28671/devel
Modified Files:
Django.spec
Log Message:
* Thu Mar 12 2009 Michel Salim <salimma at fedoraproject.org> - 1.0.2-3
- Build HTML documentation (bug #484070)
Index: Django.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Django/devel/Django.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Django.spec 23 Feb 2009 21:05:21 -0000 1.17
+++ Django.spec 13 Mar 2009 01:40:57 -0000 1.18
@@ -3,20 +3,21 @@
Name: Django
Version: 1.0.2
-Release: 2%{?dist}
+Release: 3%{?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-3
+- Build HTML documentation (bug #484070)
+
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list