Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
7f44e04d05 dist-git conversion 2010-07-28 13:04:04 +00:00
Bill Nottingham
783ce23cdf Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:23:15 +00:00
Marc Wiriadisastra
a7f2bf833e Fix file location problem that breaks HTML version - thanks to Paul 2008-11-05 12:30:42 +00:00
Jesse Keating
9273d37b58 Initialize branch F-9 for diveintopython 2008-04-20 16:10:19 +00:00
3 changed files with 12 additions and 23 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: diveintopython
# $Id$
NAME := diveintopython
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1,6 +1,6 @@
Name: diveintopython
Version: 5.4
Release: 12%{?dist}
Release: 14%{?dist}
Summary: Dive into Python - a python book
@ -76,7 +76,7 @@ rm -rf txt/*.html
#install the files
find . -type d -exec mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/'{}' \;
for DIR in * ; do
find $DIR -type f -exec install -m 0644 '{}' $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/${DIR}/ \;
find $DIR -type f -exec install -D -m 0644 '{}' $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/'{}' \;
done
popd
@ -98,23 +98,33 @@ rm -rf $RPM_BUILD_ROOT
%files html
%defattr(-,root,root,-)
%dir %{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/html
%files pdf
%defattr(-,root,root,-)
%dir %{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/pdf
%{_datadir}/applications/fedora-diveintopython.desktop
%files single-html
%defattr(-,root,root,-)
%dir %{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/htmlflat
%files txt
%defattr(-,root,root,-)
%dir %{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/txt
%changelog
* Tue Nov 4 2008 Paul W. Frields <stickster@gmail.com> - 5.4-14
- Fix file location problem that breaks HTML version
* Tue Sep 2 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 5.4-13
- Include /usr/share/doc/diveintopython-5.4 directory (in all pkgs)
* Tue Feb 5 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 5.4-12
- Removed specific java package's and just use java in BR (overholt)
- Added build_patch to not use downloaded jars and....