From 1bf7ce6fde25fa8e6776e910b6dadeaf414de9f0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:56:26 +0100 Subject: [PATCH] update to 2.2.0 [release 2.2.0-1mamba;Mon Jul 27 2020] --- libktorrent.spec | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/libktorrent.spec b/libktorrent.spec index b9bdb2c..ef78cac 100644 --- a/libktorrent.spec +++ b/libktorrent.spec @@ -1,9 +1,6 @@ -%define dirver 4.%(echo %version | cut -d. -f 2-3) -%define majver 5.1.2 -#%define majver 5.%(echo %version | cut -d. -f2) -#% define pkgver %(echo %version | cut -d. -f4) +%define dirver 5.%(echo %version | cut -d. -f 2-3) Name: libktorrent -Version: 2.1.1 +Version: 2.2.0 Release: 1mamba Summary: Library for KTorrent, a BitTorrent client for KDE Group: System/Libraries @@ -11,8 +8,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://ktorrent.org/ -Source: https://download.kde.org/stable/ktorrent/%{majver}/%{name}-%{version}.tar.xz -#Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/ktorrent/%{majver}/libktorrent-%{version}.tar.xz +Source: https://download.kde.org/stable/ktorrent/%{dirver}/%{name}-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -39,8 +35,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Library for KTorrent, a BitTorrent client for KDE. This package contains static libraries and header files need for development. -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%debug_package %prep %setup -q @@ -58,6 +53,9 @@ This package contains static libraries and header files need for development. %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files -f %{name}5.lang %defattr(-,root,root) %{_kde5_libdir}/libKF5Torrent.so.* @@ -72,6 +70,9 @@ This package contains static libraries and header files need for development. %{_kde5_libdir}/libKF5Torrent.so %changelog +* Mon Jul 27 2020 Silvan Calarco 2.2.0-1mamba +- update to 2.2.0 + * Sun Mar 29 2020 Ercole 'ercolinux' Carpanetto 2.1.1-1mamba - update to 2.1.1