diff --git a/libmemcached.changes b/libmemcached.changes index 201d5f8..0f50925 100644 --- a/libmemcached.changes +++ b/libmemcached.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 7 12:32:05 UTC 2019 - Tomáš Chvátal + +- Switch to python3 sphinx instead of python2 based variant + ------------------------------------------------------------------- Thu Jun 22 16:51:01 UTC 2017 - antoine.belvire@opensuse.org diff --git a/libmemcached.spec b/libmemcached.spec index f0f39a6..911f6c3 100644 --- a/libmemcached.spec +++ b/libmemcached.spec @@ -1,7 +1,7 @@ # # spec file for package libmemcached # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,7 +23,7 @@ Release: 0 Summary: A C/C++ client library and tools for the memcached server License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: http://libmemcached.org +URL: http://libmemcached.org Source0: https://launchpad.net/libmemcached/1.0/%{version}/+download/libmemcached-%{version}.tar.gz Source1: https://launchpad.net/libmemcached/1.0/%{version}/+download/libmemcached-%{version}.tar.gz.asc Source2: %{name}.keyring @@ -45,8 +45,7 @@ BuildRequires: libevent-devel BuildRequires: libtool BuildRequires: memcached BuildRequires: pkgconfig -BuildRequires: python-Sphinx -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3-Sphinx %description Libmemcached is a C/C++ client library and tools for the memcached server @@ -104,7 +103,7 @@ autoreconf -fiv make V=1 CFLAGS="-std=c99 %{optflags}" CXXFLAGS="%{optflags}" %{?_smp_mflags} %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install V=1 CFLAGS="-std=c99 %{optflags}" CXXFLAGS="%{optflags}" +%make_install V=1 CFLAGS="-std=c99 %{optflags}" CXXFLAGS="%{optflags}" find %{buildroot} -type f -name "*.la" -delete -print # create symlinks for man pages %fdupes -s %{buildroot}%{_mandir} @@ -118,7 +117,6 @@ rm -f %{buildroot}%{_datadir}/aclocal/ax_libmemcached.m4 %postun -n libmemcachedutil2 -p /sbin/ldconfig %files -%defattr(-,root,root) %{_bindir}/memcapable %{_bindir}/memcat %{_bindir}/memcp @@ -132,14 +130,13 @@ rm -f %{buildroot}%{_datadir}/aclocal/ax_libmemcached.m4 %{_bindir}/memslap %{_bindir}/memstat %{_bindir}/memtouch -%{_mandir}/man1/mem*.1* +%{_mandir}/man1/mem*.1%{?ext_man} %files -n %{libsoname} -%defattr(-,root,root) +%license COPYING %{_libdir}/%{name}.so.* %files -n libmemcachedutil2 -%defattr(-,root,root) %{_libdir}/libhashkit.so.2 %{_libdir}/libhashkit.so.2.*.* %{_libdir}/libmemcachedutil.so.2 @@ -148,7 +145,6 @@ rm -f %{buildroot}%{_datadir}/aclocal/ax_libmemcached.m4 %{_libdir}/libmemcachedprotocol.so.0.*.* %files devel -%defattr(-,root,root) %dir %{_includedir}/%{name} %dir %{_includedir}/%{name}-1.0 %dir %{_includedir}/libhashkit @@ -166,6 +162,6 @@ rm -f %{buildroot}%{_datadir}/aclocal/ax_libmemcached.m4 %{_libdir}/%{name}.so %{_libdir}/libmemcachedutil.so %{_libdir}/libmemcachedprotocol.so -%{_mandir}/man3/*.3* +%{_mandir}/man3/*.3%{?ext_man} %changelog