Hello community, here is the log from the commit of package libtorrent for openSUSE:Factory checked in at 2020-09-06 00:04:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libtorrent (Old) and /work/SRC/openSUSE:Factory/.libtorrent.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtorrent" Sun Sep 6 00:04:08 2020 rev:13 rq:832209 version:0.13.8 Changes: -------- --- /work/SRC/openSUSE:Factory/libtorrent/libtorrent.changes 2019-07-31 14:31:20.773996965 +0200 +++ /work/SRC/openSUSE:Factory/.libtorrent.new.3399/libtorrent.changes 2020-09-06 00:04:11.171307435 +0200 @@ -1,0 +2,5 @@ +Fri Sep 4 14:55:41 UTC 2020 - Jan Engelhardt <[email protected]> + +- Remove outdated specfile constructs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libtorrent.spec ++++++ --- /var/tmp/diff_new_pack.OpHgvA/_old 2020-09-06 00:04:11.851307776 +0200 +++ /var/tmp/diff_new_pack.OpHgvA/_new 2020-09-06 00:04:11.851307776 +0200 @@ -1,7 +1,7 @@ # # spec file for package libtorrent # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,18 +24,14 @@ Summary: A BitTorrent library written in C++ License: SUSE-GPL-2.0+-with-openssl-exception Group: Productivity/Networking/File-Sharing -Url: http://github.com/rakshasa/libtorrent +URL: https://github.com/rakshasa/libtorrent -Source: https://github.com/rakshasa/rtorrent/releases/download/v%{rtorrentvers}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf +Source: https://github.com/rakshasa/rtorrent/releases/download/v%rtorrentvers/%name-%version.tar.gz BuildRequires: automake -BuildRequires: cppunit-devel BuildRequires: gcc-c++ BuildRequires: libtool +BuildRequires: pkgconfig(cppunit) BuildRequires: pkgconfig(openssl) -BuildRequires: pkg-config -BuildRequires: gzip BuildRequires: zlib-devel %description @@ -63,7 +59,7 @@ seed speeds than the official client on high-bandwidth links. %prep -%setup -q +%autosetup -p1 %build export CFLAGS="%optflags -fno-strict-aliasing" @@ -71,21 +67,19 @@ export CXXFLAGS="$CXXFLAGS -std=gnu++11" autoreconf -fiv %configure --enable-ipv6 --with-posix-fallocate -make %{?_smp_mflags} +%make_build %install -make install DESTDIR="%buildroot" +%make_install find "%buildroot" -type f -name "*.la" -delete %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libtorrent.so.* %files -n %name-devel -%defattr(-,root,root) %_includedir/torrent/ %_libdir/libtorrent.so %_libdir/pkgconfig/libtorrent.pc
