All pastes #388173 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-09 21:48 UTC
rendered paste body
Index: SPECS/myspell-dictionaries.spec
===================================================================
--- SPECS/myspell-dictionaries.spec     (revision 140276)
+++ SPECS/myspell-dictionaries.spec     (working copy)
@@ -1,7 +1,7 @@
 %define name      myspell-dictionaries
 # Define to "1.0" for OOo < 1.0.1
 %define myversion 1.0.2
-%define rel 10
+%define myrelease %mkrel 10
 
 %if "%{version}" == "1.0"
 %define dictdir        %{_libdir}/myspell
@@ -12,7 +12,7 @@
 Summary:       MySpell Spelling and Hyphenation dictionaries
 Name:          %{name}
 Version:       %{myversion}
-Release:       %mkrel %{rel}
+Release:       %myrelease
 URL:           http://lingucomponent.openoffice.org/download_dictionary.html
 Source0:       myspell-genpackages.sh
 License:       BSD/GPL/LGPL
@@ -216,7 +216,7 @@
 %{expand:%(/bin/sh %{SOURCE0} DESC THES sk_SK 20050218 "Slovak (Slovak Republic)" GPL)}
 
 %prep
-%setup -q -n %{name}-%{myversion}-%{rel} -T -c
+%setup -q -n %{name}-%{myversion}-%{myrelease} -T -c
 
 # Handle spelling dictionaries
 for dictfile in %{SOURCE100} %{SOURCE101} %{SOURCE102} %{SOURCE103} %{SOURCE104} \
@@ -491,3 +491,4 @@
 %{expand:%(/bin/sh %{SOURCE0} FILES THES pl_PL PL)}
 %{expand:%(/bin/sh %{SOURCE0} FILES THES bg_BG BG)}
 %{expand:%(/bin/sh %{SOURCE0} FILES THES sk_SK SK)}
+