RPM packaging: fix knemo build on opensuse tumbleweed

pull/3/head
François Andriot 9 years ago
parent eaf09395f7
commit a30d722e77

@ -78,8 +78,14 @@ BuildRequires: brp-check-trinity
BuildRequires: gettext
%if 0%{?fedora} >= 18
%if 0%{?fedora} >= 18 || 0%{?suse_version}
%if 0%{?suse_version} >= 1330
BuildRequires: net-tools-deprecated
Requires: net-tools-deprecated
%else
BuildRequires: net-tools
Requires: net-tools
%endif
%endif
@ -114,6 +120,7 @@ Homepage: http://extragear.kde.org/apps/knemo/
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
@ -139,6 +146,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%clean
%__rm -rf %{buildroot}
@ -148,6 +156,7 @@ update-desktop-database %{tde_tdeappdir} > /dev/null
touch --no-create %{tde_datadir}/icons/crystalsvg || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
%postun
update-desktop-database %{tde_tdeappdir} > /dev/null
touch --no-create %{tde_datadir}/icons/crystalsvg || :
@ -170,5 +179,3 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
%changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.4.8-1
- Initial release for TDE 14.0.0

Loading…
Cancel
Save