commit 8c1dd37f31551b3a9143da7ec8d6c7481f864bb6
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Oct 17 16:34:32 2018 +0100
Clean up hacks that no longer affect the builds
mythtv.spec | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/mythtv.spec b/mythtv.spec
index 6afad2a..f131f92 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -856,11 +856,6 @@ EOF
# Drop execute permissions on contrib bits, since they'll be %%doc
find contrib/ -type f -exec chmod -x "{}" \;
-# And drop execute bit on theme html files
- chmod -x themes/default/htmls/*.html
-
-# Nuke Windows and Mac OS X build scripts
- rm -rf contrib/Win32 contrib/OSX
# Put perl bits in the right place and set opt flags
sed -i -e 's#perl Makefile.PL#%{__perl} Makefile.PL INSTALLDIRS=vendor
OPTIMIZE="$RPM_OPT_FLAGS"#' \
@@ -869,10 +864,6 @@ EOF
# Install other source files
cp -a %{SOURCE10} .
cp -a %{SOURCE106} %{SOURCE107} %{SOURCE108} %{SOURCE109} .
-
-# Make sure we use -O2 and not -O3
- sed -i '/speed_cflags=/d' configure
-
popd
#pushd mythplugins
@@ -1019,7 +1010,7 @@ pushd mythplugins
--python=%{__python2} \
--enable-fftw
- make %{?_smp_mflags}
+%make_build
popd
%endif