Browse Source

rail-1.2.5-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3634 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
07c493ca72
1 changed files with 9 additions and 6 deletions
  1. 9 6
      r/rail/rail-vl.spec

+ 9 - 6
r/rail/rail-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		1.2.5
 %define	origname	rail
@@ -7,7 +6,7 @@
 
 Name:         %{origname}
 Version:      %{origver}
-Release:      1%{?_dist_release}
+Release:      2%{?_dist_release}
 Summary:      rail - Replace Agent-string Internal Library for emacsen
 Summary(ja):  rail - emacsen 用 Agent 名変換ライブラリ
 
@@ -23,15 +22,14 @@ Group:        Applications/Editors/Emacs
 BuildRoot:    %{_tmppath}/%{name}-%{version}-root
 BuildArch:    noarch
 
-PreReq:       emacsen
-%prereq_ge    emacsen-common
-%prereq_ge    semi
+Requires:     emacsen semi
+Requires(post): emacsen emacsen-common semi
 Obsoletes:    rail-xemacs
 Conflicts:    %{origname}-el
 
 Vendor:       Project Vine
 Distribution: Vine Linux
-Packager:     MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
+Packager:     shaolin
 
 
 %description
@@ -124,6 +122,11 @@ fi
 
 
 %changelog
+* Thu Apr 21 2011 IWAI, Masaharu <iwai@alib.jp> 1.2.5-2
+- drop defining prereq_ge macro: using Requires(post) tag
+- add Requires: emacsen semi
+- update Packager syntax
+
 * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.5-1vl5
 - applied new versioning policy, spec in utf-8
 - added macro %%emacsen_pkgdir