add a version check to prevent packaging a version mismatch

This commit is contained in:
Jens Petersen 2013-10-01 13:49:44 +09:00
parent ae9deea5e7
commit 6811463fbb

View File

@ -24,6 +24,8 @@ containing test data for conformance to several important Unicode algorithms.
%prep
%setup -q -c
grep -q "%{version}" ReadMe.txt || (echo "zip file seems not %{version}" ; exit 1)
# license terms for doc
cp -p %{SOURCE1} .
@ -44,6 +46,9 @@ cp -ar . %{buildroot}%{ucddir}
%changelog
* Tue Oct 1 2013 Jens Petersen <petersen@redhat.com>
- add a version check to prevent packaging a version mismatch
* Mon Sep 30 2013 Jens Petersen <petersen@redhat.com> - 6.3.0-1
- update to 6.3