File project.diff of Package castget

--- castget.changes.orig
+++ castget.changes
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Thu Dec  4 19:23:32 UTC 2025 - Christian Boltz <suse-beta@cboltz.de>
+
+- add castget-stdlib.diff to fix build failure in Tumbleweed
+- update and fix license
+- drop ancient suse_version check and %clean
+
+-------------------------------------------------------------------
 Fri Jun 30 10:43:32 UTC 2023 - Christian Boltz <suse-beta@cboltz.de>
 
 - update to 2.0.1
--- castget.spec.orig
+++ castget.spec
@@ -5,16 +5,13 @@ Version:			2.0.1
 Release:			0
 Summary:			Command-line Podcast Downloader
 Source:        http://savannah.nongnu.org/download/castget/castget-%{version}.tar.bz2
+Patch1:        castget-stdlib.diff
 URL:				http://www.nongnu.org/castget/
 Group:			Productivity/Networking/Other
-License:			GNU General Public License version 2 (GPL v2)
+License:			GPL-2.0-or-later AND LGPL-2.1-or-later
 BuildRoot:		%{_tmppath}/build-%{name}-%{version}
 BuildRequires:	libxml2-devel glib2-devel id3lib-devel
-%if %suse_version < 1030
-BuildRequires:	curl-devel
-%else
 BuildRequires:	libcurl-devel
-%endif
 BuildRequires:	gcc-c++ libstdc++-devel make glibc-devel pkgconfig
 BuildRequires:	autoconf automake libtool
 Obsoletes:     libcastget0 < 1.1.0
@@ -34,6 +31,7 @@ Authors:
 
 %prep
 %setup -q
+%autopatch -p1
 
 %build
 %configure
@@ -44,9 +42,6 @@ Authors:
 
 %__rm -f "%{buildroot}%{_libdir}"/*.la
 
-%clean
-%__rm -rf "%{buildroot}"
-
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING COPYING.LIB CHANGES.md ChangeLog.old
openSUSE Build Service is sponsored by