Compare commits

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

4 commits

Author SHA1 Message Date
Fedora Release Engineering
30beff0ad0 dist-git conversion 2010-07-29 15:11:39 +00:00
Bill Nottingham
266c01154e Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:14:59 +00:00
Akira TAGOH
4fe33ad3c7 - makes it failsafe to run install-info. (#219408) 2006-12-19 08:37:54 +00:00
Jeremy Katz
56b0824a84 Initialize branch FC-6 for w3m-el 2006-10-23 19:27:07 +00:00
3 changed files with 10 additions and 27 deletions

View file

View file

@ -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)

View file

@ -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 <tagoh@redhat.com> - 1.4.4-6
- makes it failsafe to run install-info. (#219408)
* Fri Sep 15 2006 Akira TAGOH <tagoh@redhat.com> - 1.4.4-5
- rebuilt