Browse Source

apel-10.8-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3640 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
292a4e8b65
1 changed files with 7 additions and 4 deletions
  1. 7 4
      a/apel/apel-vl.spec

+ 7 - 4
a/apel/apel-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       origver       10.8
 %define       origname      apel	
@@ -8,7 +7,7 @@ Summary:      A Portable Emacs Library
 Summary(ja):  Emacs 用の 基礎的な関数を提供するライブラリ
 Name:         %{origname}
 Version:      %{origver}
-Release:      1%{?_dist_release}
+Release:      2%{?_dist_release}
 
 Source0:      http://kanji.zinbun.kyoto-u.ac.jp/~tomo/lemi/dist/apel/apel-%{origver}.tar.gz
 Source1:      apel-install.sh
@@ -22,8 +21,8 @@ Group:        Applications/Editors/Emacs
 BuildRoot:    %{_tmppath}/%{name}-%{version}-root
 BuildArch:    noarch
 
-Requires(post,preun): emacsen
-%prereq_ge    emacsen-common
+Requires: emacsen
+Requires(post,preun): emacsen emacsen-common
 Obsoletes:    %{origname}-el
 Conflicts:    semi <= 1.14.5-0vl2
 
@@ -134,6 +133,10 @@ fi
 
  
 %changelog
+* Fri Apr 22 2011 IWAI, Masaharu <iwai@alib.jp> 10.8-2
+- drop defining prereq_ge macro: using Requires(post,preun) tag
+- add Requires: emacsen
+
 * Tue Jun 15 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 10.8-1
 - new upstream release