diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 1c6a66b..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: w3m-el -# $Id$ -NAME := w3m-el -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) diff --git a/w3m-el.spec b/w3m-el.spec index feb1a5e..54e10b4 100644 --- a/w3m-el.spec +++ b/w3m-el.spec @@ -2,7 +2,7 @@ Name: w3m-el Version: 1.4.4 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD URL: http://emacs-w3m.namazu.org/ BuildArch: noarch @@ -45,7 +45,8 @@ standalone pager such as lv, less, and more. %package common Summary: Common files for W3m interface of emacsen Group: Applications/Internet -Prereq: /sbin/install-info +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info %description common This package contains common files which w3m-el and w3m-el-xemacs needs. @@ -96,16 +97,16 @@ rm -rf $RPM_BUILD_ROOT %post common /sbin/install-info %{_infodir}/emacs-w3m.info \ - %{_infodir}/dir --section="GNU Emacs Lisp" + %{_infodir}/dir --section="GNU Emacs Lisp" || : /sbin/install-info %{_infodir}/emacs-w3m-ja.info \ - %{_infodir}/dir --section="GNU Emacs Lisp" + %{_infodir}/dir --section="GNU Emacs Lisp" || : %preun common if [ "$1" = 0 ]; then /sbin/install-info --delete %{_infodir}/emacs-w3m.info \ - %{_infodir}/dir --section="GNU Emacs Lisp" + %{_infodir}/dir --section="GNU Emacs Lisp" || : /sbin/install-info --delete %{_infodir}/emacs-w3m-ja.info \ - %{_infodir}/dir --section="GNU Emacs Lisp" + %{_infodir}/dir --section="GNU Emacs Lisp" || : fi %files @@ -133,6 +134,9 @@ fi %{_infodir}/* %changelog +* Tue Dec 19 2006 Akira TAGOH - 1.4.4-6 +- makes it failsafe to run install-info. (#219408) + * Fri Sep 15 2006 Akira TAGOH - 1.4.4-5 - rebuilt