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
|
||||
Summary: VP8/VP9 Video Codec SDK
|
||||
Version: 1.8.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: BSD
|
||||
#Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2
|
||||
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
|
||||
%endif
|
||||
|
||||
make %{?_smp_mflags} verbose=true
|
||||
%make_build verbose=true
|
||||
|
||||
# Manual shared library creation
|
||||
# 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.
|
||||
# ln -sf libvpx.so.%{soversion} libvpx.so
|
||||
|
||||
# make %{?_smp_mflags} verbose=true target=examples CONFIG_SHARED=1
|
||||
# make %{?_smp_mflags} verbose=true target=docs
|
||||
# %make_build verbose=true target=examples CONFIG_SHARED=1
|
||||
# %make_build verbose=true target=docs
|
||||
|
||||
# Put them back so the install doesn't fail
|
||||
# mv libNOTvpx.a libvpx.a
|
||||
@ -237,6 +237,10 @@ rm -rf %{buildroot}%{_prefix}/src
|
||||
%{_bindir}/*
|
||||
|
||||
%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
|
||||
- Disable LTO
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user