commit 20cd48f89bd0ce80b00dab40e04a7db90d7bbdd5
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sat Sep 17 11:00:12 2016 +0100
Add redhat flags to LDFLAGS
qtav.spec | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/qtav.spec b/qtav.spec
index a3ca5b0..77c0730 100644
--- a/qtav.spec
+++ b/qtav.spec
@@ -7,7 +7,7 @@
Name: qtav
Version: 1.11.0
-Release: 0.5git%{shortcommit0}%{?dist}
+Release: 0.6git%{shortcommit0}%{?dist}
Summary: A media playback framework based on Qt and FFmpeg
License: LGPLv2+ and GPLv3+ and BSD
Group: Development/Libraries
@@ -130,9 +130,9 @@ cp -pr examples/* _tmpdoc/examples
export CPATH="`pkg-config --variable=includedir libavformat`"
mkdir build; pushd build
%{_qt5_qmake} \
- QMAKE_CFLAGS="%{optflags}" \
- QMAKE_CXXFLAGS="%{optflags}" \
- QMAKE_LFLAGS="-Wl,--as-needed" \
+ QMAKE_CFLAGS="${RPM_OPT_FLAGS}" \
+ QMAKE_CXXFLAGS="${RPM_OPT_FLAGS}" \
+ QMAKE_LFLAGS="${RPM_LD_FLAGS} -Wl,--as-needed" \
CONFIG+="no_rpath recheck config_libass_link debug" \
..
%make_build
@@ -222,6 +222,9 @@ fi
%{_datadir}/icons/hicolor/*/apps/QtAV.svg
%changelog
+* Sat Sep 17 2016 Leigh Scott <leigh123linux(a)googlemail.com> -
1.11.0-0.6gitbc46ae4
+- Add redhat flags to LDFLAGS
+
* Sat Sep 17 2016 Martin Gansser <martinkg(a)fedoraproject.org> -
1.11.0-0.5gitbc46ae4
- Update to 1.11.0-0.5gitbc46ae4
- Dropped config option no_config_tests
Show replies by date