diff --git a/ktorrent.changes b/ktorrent.changes index 751b654..5b03534 100644 --- a/ktorrent.changes +++ b/ktorrent.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 4 10:57:58 CEST 2007 - stbinner@suse.de + +- fix build on older distributions + ------------------------------------------------------------------- Sun May 20 16:47:28 CEST 2007 - stbinner@suse.de diff --git a/ktorrent.spec b/ktorrent.spec index 9db8c37..2c05469 100644 --- a/ktorrent.spec +++ b/ktorrent.spec @@ -17,7 +17,7 @@ License: GNU General Public License (GPL) Group: Productivity/Networking/Other Summary: KDE BitTorrent Client Version: 2.1.4 -Release: 14 +Release: 22 BuildRoot: %{_tmppath}/%{name}-%{version}-build %define rversion %{version} Source: %{name}-%{rversion}.tar.gz @@ -26,7 +26,9 @@ Patch4: no-geoip-db.diff Patch10: ktorrent-fix-columns.diff Patch15: ktorrent-fix-compiler_warning.diff Patch16: disable-DHT.diff +%if %suse_version > 1020 Requires: %{name}-lang = %{version} +%endif %description Torrent is a BitTorrent program for KDE. Its main features are: * @@ -75,10 +77,15 @@ make DESTDIR=$RPM_BUILD_ROOT install %post %run_ldconfig +%if %suse_version > 1020 %files lang -f %name.lang %files +%else + +%files -f %name.lang +%endif %defattr(-,root,root) %dir /opt/kde3/share/icons/hicolor/16x16 %dir /opt/kde3/share/icons/hicolor/32x32 @@ -104,6 +111,8 @@ make DESTDIR=$RPM_BUILD_ROOT install /opt/kde3/share/servicetypes/*.desktop %changelog +* Mon Jun 04 2007 - stbinner@suse.de +- fix build on older distributions * Sun May 20 2007 - stbinner@suse.de - fix package requires * Mon May 14 2007 - coolo@suse.de