diff --git a/phonon.spec b/phonon.spec index 5b6cdd4..f67a59d 100644 --- a/phonon.spec +++ b/phonon.spec @@ -11,7 +11,7 @@ Summary: Multimedia framework api Name: phonon Version: 4.8.3 -Release: 6%{?dist} +Release: 7%{?dist} License: LGPLv2+ URL: http://phonon.kde.org/ %if 0%{?snap} @@ -155,6 +155,15 @@ test "$(pkg-config --modversion phonon4qt5)" = "%{version}" %endif %{_libdir}/libphononexperimental.so.4* +# https://bugzilla.redhat.com/show_bug.cgi?id=1223956 +# replacing symlink with a dir +%pretrans devel -p +path = "%{_includedir}/phonon/Phonon" +st = posix.stat(path) +if st and st.type == "link" then + os.remove(path) +end + %files devel %{_datadir}/phonon/buildsystem/ %dir %{_libdir}/cmake/ @@ -199,6 +208,9 @@ test "$(pkg-config --modversion phonon4qt5)" = "%{version}" %changelog +* Tue Sep 15 2015 Rex Dieter 4.8.3-7 +- -devel: add lua scriptlet workaround for symlink->dir (#1223956) + * Mon Jul 06 2015 Rex Dieter 4.8.3-6 - backport upstream fixes, mostly for Qt5-fPIC-related FTBFS (#1239789)