- Remove ancient || : after %check
This commit is contained in:
parent
6e4b3f8d0c
commit
899c3e94dc
11
mecab.spec
11
mecab.spec
@ -1,6 +1,6 @@
|
||||
%define mainver 0.97
|
||||
%undefine betaver
|
||||
%define fedorarel 2
|
||||
%define fedorarel 3
|
||||
|
||||
# Note:
|
||||
# mecab dictionary requires mecab-devel to rebuild it,
|
||||
@ -20,7 +20,6 @@ License: BSD or LGPLv2+ or GPL+
|
||||
URL: http://mecab.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{mainver}%{?betaver}.tar.gz
|
||||
# http://lists.sourceforge.jp/mailman/archives/mecab-users/2008-April/000324.html
|
||||
Patch0: mecab-0.97-cost-factor.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
@ -42,7 +41,6 @@ for MeCab.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{mainver}%{?betaver}
|
||||
%patch0 -p1 -b .cost
|
||||
|
||||
# compiler flags fix
|
||||
%{__sed} -i.flags \
|
||||
@ -78,7 +76,7 @@ for MeCab.
|
||||
# create directory
|
||||
%{__mkdir} -p $RPM_BUILD_ROOT%{_libdir}/mecab/dic/
|
||||
|
||||
%check || :
|
||||
%check
|
||||
# here enable rpath
|
||||
export LD_LIBRARY_PATH=$(pwd)/src/.libs
|
||||
cd tests
|
||||
@ -112,9 +110,8 @@ cd ..
|
||||
%{_includedir}/%{name}.h
|
||||
|
||||
%changelog
|
||||
* Tue Apr 8 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.97-2
|
||||
- Set cost_factor
|
||||
(see: mecab-users mailing list)
|
||||
* Sun Jun 1 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.97-3
|
||||
- Remove ancient || : after %%check
|
||||
|
||||
* Sun Feb 3 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.97-1
|
||||
- 0.97
|
||||
|
Loading…
Reference in New Issue
Block a user