Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
126752e5d2
commit
b544cfef66
12
libvpx.spec
12
libvpx.spec
@ -6,7 +6,7 @@
|
|||||||
Name: libvpx
|
Name: libvpx
|
||||||
Summary: VP8/VP9 Video Codec SDK
|
Summary: VP8/VP9 Video Codec SDK
|
||||||
Version: 1.8.2
|
Version: 1.8.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
#Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2
|
#Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2
|
||||||
Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz
|
Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz
|
||||||
@ -120,7 +120,7 @@ sed -i "s|NM=armv7hl-redhat-linux-gnueabi-nm|NM=nm|g" examples-%{vpxtarget}.mk
|
|||||||
sed -i "s|NM=armv7hl-redhat-linux-gnueabi-nm|NM=nm|g" docs-%{vpxtarget}.mk
|
sed -i "s|NM=armv7hl-redhat-linux-gnueabi-nm|NM=nm|g" docs-%{vpxtarget}.mk
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
make %{?_smp_mflags} verbose=true
|
%make_build verbose=true
|
||||||
|
|
||||||
# Manual shared library creation
|
# Manual shared library creation
|
||||||
# We should never need to do this anymore, and if we do, we need to fix the version-script.
|
# We should never need to do this anymore, and if we do, we need to fix the version-script.
|
||||||
@ -140,8 +140,8 @@ rm -rf tmp
|
|||||||
# We need to do this so the examples can link against it.
|
# We need to do this so the examples can link against it.
|
||||||
# ln -sf libvpx.so.%{soversion} libvpx.so
|
# ln -sf libvpx.so.%{soversion} libvpx.so
|
||||||
|
|
||||||
# make %{?_smp_mflags} verbose=true target=examples CONFIG_SHARED=1
|
# %make_build verbose=true target=examples CONFIG_SHARED=1
|
||||||
# make %{?_smp_mflags} verbose=true target=docs
|
# %make_build verbose=true target=docs
|
||||||
|
|
||||||
# Put them back so the install doesn't fail
|
# Put them back so the install doesn't fail
|
||||||
# mv libNOTvpx.a libvpx.a
|
# mv libNOTvpx.a libvpx.a
|
||||||
@ -237,6 +237,10 @@ rm -rf %{buildroot}%{_prefix}/src
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.8.2-4
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 1.8.2-3
|
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 1.8.2-3
|
||||||
- Disable LTO
|
- Disable LTO
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user