diff options
author | Francois Andriot <[email protected]> | 2012-05-05 11:09:11 +0200 |
---|---|---|
committer | Francois Andriot <[email protected]> | 2012-05-05 11:09:11 +0200 |
commit | d45bc6f2a0b63a4533b1d325207c9421ffd8051c (patch) | |
tree | 0178af4d916a54c33484bb7cab9ee148e9d09ea3 /redhat/applications/kdesvn/trinity-kdesvn.spec | |
parent | 8b32b1132dd028eb502cc670932070dcd1e527c3 (diff) | |
download | tde-packaging-d45bc6f2a0b63a4533b1d325207c9421ffd8051c.tar.gz tde-packaging-d45bc6f2a0b63a4533b1d325207c9421ffd8051c.zip |
RHEL/Fedora: fix lots of application building
Diffstat (limited to 'redhat/applications/kdesvn/trinity-kdesvn.spec')
-rw-r--r-- | redhat/applications/kdesvn/trinity-kdesvn.spec | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/redhat/applications/kdesvn/trinity-kdesvn.spec b/redhat/applications/kdesvn/trinity-kdesvn.spec index 20904fd46..7f03c6c33 100644 --- a/redhat/applications/kdesvn/trinity-kdesvn.spec +++ b/redhat/applications/kdesvn/trinity-kdesvn.spec @@ -1,7 +1,7 @@ # Default version for this component %define kdecomp kdesvn %define version 1.0.4 -%define release 1 +%define release 2 # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" @@ -33,6 +33,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{kdecomp}-3.5.13.tar.gz +# [kdesvn] Fix compilation with GCC 4.7 +Patch1: kdesvn-3.5.13-fix_gcc47_compilation.patch + BuildRequires: tqtinterface-devel BuildRequires: trinity-kdelibs-devel BuildRequires: trinity-kdebase-devel @@ -90,6 +93,7 @@ This package is part of tdesvn-trinity. %prep %setup -q -n applications/%{kdecomp} +%patch1 -p1 # Ugly hack to modify TQT include directory inside autoconf files. # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! @@ -137,11 +141,15 @@ export PATH="%{_bindir}:${PATH}" %post touch --no-create %{_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -/sbin/ldconfig || : %postun touch --no-create %{_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%post -n trinity-libsvnqt +/sbin/ldconfig || : + +%postun -n trinity-libsvnqt /sbin/ldconfig || : @@ -192,5 +200,10 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %Changelog +* Tue May 01 2012 Francois Andriot <[email protected]> - 1.0.4-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix compilation with GCC 4.7 + * Thu Dec 01 2011 Francois Andriot <[email protected]> - 1.0.4-1 - Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 |