Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
18b40d6828
commit
fed776abe5
10
speex.spec
10
speex.spec
@ -1,7 +1,7 @@
|
||||
Summary: A voice compression format (codec)
|
||||
Name: speex
|
||||
Version: 1.2.0
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: BSD
|
||||
URL: https://www.speex.org/
|
||||
Source0: https://downloads.xiph.org/releases/speex/%{name}-%{version}.tar.gz
|
||||
@ -40,10 +40,10 @@ speech. This package contains tools files and user's manual for %{name}.
|
||||
# Remove rpath from speexenc and speexdec
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%make_install
|
||||
rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf
|
||||
|
||||
%ldconfig_scriptlets
|
||||
@ -69,6 +69,10 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Aug 18 2020 Tomas Korbar <tkorbar@redhat.com> - 1.2.0-7
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user