From c10f0f745f42421c1427c8ae41b5df19f6c8ebfd Mon Sep 17 00:00:00 2001 From: Filipe Rosset Date: Oct 27 2018 00:08:50 +0000 Subject: - Updated to new 3.47 upstream version - spec cleanup (remove old unused comments) - Fixes rhbz #1611359 and #1630845 thanks to Milan Crha for all bug reports --- diff --git a/.gitignore b/.gitignore index 60b1ac5..44700f6 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ highlight-3.1-beta2.tar.bz2 /highlight-3.39.tar.bz2 /highlight-3.42.tar.bz2 /highlight-3.44.tar.bz2 +/highlight-3.47.tar.bz2 diff --git a/highlight.spec b/highlight.spec index c533aad..75aa523 100644 --- a/highlight.spec +++ b/highlight.spec @@ -1,7 +1,7 @@ Name: highlight Summary: Universal source code to formatted text converter -Version: 3.44 -Release: 2%{?dist} +Version: 3.47 +Release: 1%{?dist} Group: Development/Tools License: GPLv3 @@ -39,21 +39,10 @@ A Qt-based GUI for the highlight source code formatter source. %autosetup %build -#CFLAGS="%{optflags}"; export CFLAGS -#CXXFLAGS="%{optflags}"; export CXXFLAGS -#LDFLAGS="%{?__global_ldflags}"; export LDFLAGS CFLAGS="$CFLAGS -fPIC %{optflags}"; export CFLAGS CXXFLAGS="$CXXFLAGS -fPIC %{optflags}"; export CXXFLAGS LDFLAGS="$LDFLAGS %{?__global_ldflags}"; export LDFLAGS -# Disable paralell builds, atempt to fixes FTBFS -#%make_build all gui %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \ -#make_build all gui CFLAGS="$RPM_OPT_FLAGS" \ -# LDFLAGS="%{?__global_ldflags}" \ -# QMAKE="%{_qt5_qmake}" \ -# QMAKE_CFLAGS_RELEASE="${CFLAGS}" \ -# QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \ -# QMAKE_LFLAGS_RELEASE="${LDFLAGS}" \ %make_build all gui CFLAGS="${CFLAGS}" \ CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" \ @@ -68,7 +57,6 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps make install-gui DESTDIR=$RPM_BUILD_ROOT - rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/ desktop-file-install \ @@ -79,10 +67,10 @@ desktop-file-install \ %{_bindir}/highlight %{_datadir}/highlight/ %{_mandir}/man1/highlight.1* - +%{_mandir}/man5/filetypes.conf.5.gz %config(noreplace) %{_sysconfdir}/highlight/ -%doc ChangeLog AUTHORS README* TODO extras/ +%doc ChangeLog* AUTHORS README* extras/ %license COPYING %files gui @@ -90,7 +78,13 @@ desktop-file-install \ %{_datadir}/applications/highlight.desktop %{_datadir}/pixmaps/highlight.xpm + %changelog +* Fri Oct 26 2018 Filipe Rosset - 3.47-1 +- Updated to new 3.47 upstream version +- spec cleanup (remove old unused comments) +- Fixes rhbz #1611359 and #1630845 thanks to Milan Crha for all bug reports + * Thu Sep 20 2018 Filipe Rosset - 3.44-2 - attempt to fix and respect build flags rhbz #1563149 diff --git a/sources b/sources index 275b768..995eeaa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (highlight-3.44.tar.bz2) = a0b9a147cadec72b80b97d92e6fac9312f134ef71a4a67121cab3646668424379c14a9189b5bdd0d892790cc99edc955090967caf6816239151d0e8a19bcfbd7 +SHA512 (highlight-3.47.tar.bz2) = 286dcc0db33c8b250852f7b607eb313afbd83da7ead6bde8a35ed5b7f59438b0345725a31dd5969347af10aba0c981f6bf2ce5683b801c45ee27b2b3c6ed21ed