fix build on generic targets
This commit is contained in:
parent
72dc4d9915
commit
72fab075ec
10
libvpx.spec
10
libvpx.spec
@ -1,7 +1,7 @@
|
||||
Name: libvpx
|
||||
Summary: VP8 Video Codec SDK
|
||||
Version: 0.9.7.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Libraries
|
||||
# sigh, non-canonical version strings. clean up in 0.9.8 plz.
|
||||
@ -96,7 +96,7 @@ mv libvpx_g.a libNOTvpx_g.a
|
||||
# ln -sf libvpx.so.%{version} libvpx.so
|
||||
ln -sf libvpx.so.0.9.7 libvpx.so
|
||||
|
||||
make %{?_smp_mflags} verbose=true target=examples
|
||||
make %{?_smp_mflags} verbose=true target=examples CONFIG_SHARED=1
|
||||
make %{?_smp_mflags} verbose=true target=docs
|
||||
|
||||
# Put them back so the install doesn't fail
|
||||
@ -118,7 +118,8 @@ sed -i "s|@INCLUDEDIR@|%{_includedir}|g" %{buildroot}%{_libdir}/pkgconfig/libvpx
|
||||
mv %{buildroot}/usr/docs doc/
|
||||
|
||||
%if %{generic_target}
|
||||
install -p libvpx.so.%{version} %{buildroot}%{_libdir}
|
||||
#install -p libvpx.so.%{version} %{buildroot}%{_libdir}
|
||||
install -p libvpx.so.0.9.7 %{buildroot}%{_libdir}
|
||||
pushd %{buildroot}%{_libdir}
|
||||
ln -sf libvpx.so.%{version} libvpx.so
|
||||
ln -sf libvpx.so.%{version} libvpx.so.0
|
||||
@ -163,6 +164,9 @@ rm -rf %{buildroot}
|
||||
%{_bindir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 12 2011 Dan Horák <dan[at]danny.cz> - 0.9.7.1-2
|
||||
- fix build on generic targets
|
||||
|
||||
* Tue Aug 16 2011 Adam Jackson <ajax@redhat.com> 0.9.7.1-1
|
||||
- libvpx 0.9.7-p1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user