Fix patch for f22 build

el8
Nicolas Chauvet 10 years ago
parent fa04c8c14f
commit 043b883180

@ -13,7 +13,7 @@
Summary: Digital VCR and streaming server
Name: ffmpeg
Version: 2.4.8
Release: 1%{?date}%{?date:git}%{?rel}%{?dist}
Release: 2%{?date}%{?date:git}%{?rel}%{?dist}
%if 0%{?_with_amr:1}
License: GPLv3+
%else
@ -176,7 +176,7 @@ echo "git-snapshot-%{?branch}%{date}-RPMFusion" > VERSION
%setup -q -n ffmpeg-%{version}
%endif
# fix -O3 -g in host_cflags
sed -i "s/-O3 -g/$RPM_OPT_FLAGS/" configure
sed -i "s|-O3 -g|$RPM_OPT_FLAGS|" configure
%build
%{ff_configure}\
@ -258,6 +258,9 @@ install -pm755 tools/qt-faststart $RPM_BUILD_ROOT%{_bindir}
%changelog
* Mon Apr 13 2015 Nicolas Chauvet <kwizart@gmail.com> - 2.4.8-2
- Fix sed for f22 where cflags contains a directory path
* Mon Mar 30 2015 Julian Sikorski <belegdol@fedoraproject.org> - 2.4.8-1
- Updated to 2.4.8

Loading…
Cancel
Save