]> git.pld-linux.org Git - packages/dokuwiki-plugin-eventum.git/blobdiff - dokuwiki-plugin-eventum.spec
- up to 20100927
[packages/dokuwiki-plugin-eventum.git] / dokuwiki-plugin-eventum.spec
index 3e2b488390bc9519215edb4988d683306bd40821..e2f95aaccd59fb98999cb53716877334f7597251 100644 (file)
@@ -2,7 +2,7 @@
 Summary:       DokuWiki Eventum Plugin
 Summary(pl.UTF-8):     Wtyczka Include (dołączania) dla Eventum
 Name:          dokuwiki-plugin-%{plugin}
-Version:       20090202
+Version:       20100927
 Release:       1
 License:       GPL v2
 Group:         Applications/WWW
@@ -21,8 +21,8 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Adds Eventum link button to edit toolbar.
 
-Also adds extra info to Eventum interwiki links fetched from Eventum via
-XML_RPC.
+Also adds extra info to Eventum interwiki links fetched from Eventum
+via XML_RPC.
 
 %prep
 # check early if build is ok to be performed
@@ -40,6 +40,12 @@ cd ..
 cvs -d %{_cvsroot} co %{?_cvstag:-r %{_cvstag}} -d %{name}-%{version} -P %{_cvsmodule}
 cd -
 
+version=$(cat VERSION)
+if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
+       : %%{version} mismatch
+       exit 1
+fi
+
 %build
 # skip tagging if we checkouted from tag or have debug enabled
 # also make make tag only if we have integer release
@@ -61,6 +67,7 @@ cvs tag $tag
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{plugindir}
 cp -a . $RPM_BUILD_ROOT%{plugindir}
+rm -f $RPM_BUILD_ROOT%{plugindir}/VERSION
 find $RPM_BUILD_ROOT%{plugindir} -name CVS | xargs -r rm -rf
 
 # link issue -> eventum icon
This page took 0.071775 seconds and 4 git commands to generate.