rpms/Django/F-9 Django.spec,1.13,1.14
Michel Alexandre Salim
salimma at fedoraproject.org
Fri Mar 13 01:41:27 UTC 2009
Author: salimma
Update of /cvs/pkgs/rpms/Django/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28671/F-9
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/F-9/Django.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Django.spec 14 Dec 2008 06:23:24 -0000 1.13
+++ Django.spec 13 Mar 2009 01:40:57 -0000 1.14
@@ -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 fedora-extras-commits
mailing list