fix build

drop reference to awol patch, fix %%check
This commit is contained in:
Rex Dieter 2013-10-09 10:52:06 -05:00
parent edefa00097
commit e29deda9f5

View File

@ -25,8 +25,6 @@ Patch1: taglib-1.5b1-multilib.patch
# try 2, kiss omit -L%_libdir
Patch2: taglib-1.5rc1-multilib.patch
Patch100: taglib-1.9-fix-string.patch
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: zlib-devel
@ -67,8 +65,6 @@ Files needed when building software with %{name}.
## omit for now
%patch2 -p1 -b .multilib
%patch100 -p1 -b .fix-string
%build
mkdir -p %{_target_platform}
@ -98,8 +94,8 @@ find %{apidocdir} -name '*.md5' | xargs rm -fv
%check
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
test "$(pkg-config --modversion taglib)" = "%{version}.0"
test "$(pkg-config --modversion taglib_c)" = "%{version}.0"
test "$(pkg-config --modversion taglib)" = "%{version}"
test "$(pkg-config --modversion taglib_c)" = "%{version}"
%if %{with tests}
#ln -s ../../tests/data %{_target_platform}/tests/
#LD_LIBRARY_PATH=%{buildroot}%{_libdir}:$LD_LIBRARY_PATH \