Browse Source

flim-1.14.9-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3607 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
683bef83f0
1 changed files with 7 additions and 5 deletions
  1. 7 5
      f/flim/flim-vl.spec

+ 7 - 5
f/flim/flim-vl.spec

@@ -1,5 +1,4 @@
 %define _noVersionedDependencies        1
-%define prereq_ge()  %(LC_ALL="C" rpm -q --queryformat 'PreReq:%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
 %define emacsen_pkgdir /usr/lib/emacsen-common/packages
 
 
@@ -10,7 +9,7 @@ Summary:      Library to provide basic features about message for Emacsen
 Summary(ja):  Emacsen 用の message に関する表現形式や符号化のためのライブラリです。
 Name:         %{origname}
 Version:      %{origver}
-Release:      2%{?_dist_release}
+Release:      3%{?_dist_release}
 
 Source0:      http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/comp/emacsen/lisp/flim/flim-1.14/flim-%{origver}.tar.gz
 Source1:      %{origname}-install.sh
@@ -23,9 +22,8 @@ Group:        Applications/Editors/Emacs
 BuildRoot:    %{_tmppath}/%{name}-%{version}-root
 BuildArch:    noarch
 
-PreReq:       emacsen
-%prereq_ge    emacsen-common
-%prereq_ge    apel
+Requires(post): emacsen emacsen-common
+Requires(post): apel
 Obsoletes:    flim-el
 Conflicts:    semi <= 1.14.5-0vl2
 
@@ -145,6 +143,10 @@ rm -rf ${RPM_BUILD_DIR}/apel-%{apelver}
 
  
 %changelog
+* Thu Apr 21 2011 IWAI, Masaharu <iwai@alib.jp> 1.14.9-3
+- drop defining prereq_ge macro
+ - using Requires(post) tag
+
 * Thu Mar  4 2010 IWAI, Masaharu <iwai@alib.jp> 1.14.9-2
 - remove mailcap.el: <BTS:VineLinux:935>
 - update Packager's syntax