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