summaryrefslogtreecommitdiffstats
path: root/redhat/kdenetwork
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-11-12 17:24:02 +0100
committeralbator <albator@arcadia.vtf>2011-11-12 17:24:02 +0100
commitba0a15d74e98b4cb42279dcda25e1730197a003e (patch)
tree573f21b006cbf1d74f9bef07c4fc7f5d3b85fc29 /redhat/kdenetwork
parent21700c329b74f3e0e97ab6dedb674976493c5005 (diff)
downloadtde-packaging-ba0a15d74e98b4cb42279dcda25e1730197a003e.tar.gz
tde-packaging-ba0a15d74e98b4cb42279dcda25e1730197a003e.zip
RHEL/Fedora: better integration with distribution, small fixes
Diffstat (limited to 'redhat/kdenetwork')
-rw-r--r--redhat/kdenetwork/trinity-kdenetwork-3.5.13.spec15
1 files changed, 13 insertions, 2 deletions
diff --git a/redhat/kdenetwork/trinity-kdenetwork-3.5.13.spec b/redhat/kdenetwork/trinity-kdenetwork-3.5.13.spec
index d06c7b328..d54a01d40 100644
--- a/redhat/kdenetwork/trinity-kdenetwork-3.5.13.spec
+++ b/redhat/kdenetwork/trinity-kdenetwork-3.5.13.spec
@@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
-%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"
@@ -257,6 +257,11 @@ install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk
install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/lisarc
install -p -m 0755 -D %{SOURCE5} %{buildroot}%{_initrddir}/lisa
+# RHEL 5: Avoids conflict with 'kdenetwork'
+%if 0%{?rhel} == 5
+%__mv -f %{buildroot}%{_sysconfdir}/lisarc %{buildroot}%{_sysconfdir}/lisarc.tde
+%endif
+
%post
/sbin/chkconfig --add lisa ||:
for f in crystalsvg hicolor locolor ; do
@@ -264,6 +269,9 @@ for f in crystalsvg hicolor locolor ; do
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+if [ -r %{_sysconfdir}/lisarc.tde ] && [ ! -r %{_sysconfdir}/lisarc ]; then
+ cp -f %{_sysconfdir}/lisarc.tde %{_sysconfdir}/lisarc
+fi
%postun
for f in crystalsvg hicolor locolor ; do
@@ -433,7 +441,7 @@ done
%else
%attr(4755,root,root) %{_bindir}/kppp
%endif
-%config(noreplace) %{_sysconfdir}/lisarc
+%config(noreplace) %{_sysconfdir}/lisarc*
%config(noreplace) %{_initrddir}/lisa
%{_libdir}/libkdeinit_*.so
%{tde_libdir}/*
@@ -465,6 +473,9 @@ done
%changelog
+* Sat Nov 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
+- Removes conflict on file 'lisarc' for RHEL 5
+
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15