diff --git a/libieee1284.spec b/libieee1284.spec index 4a95077..0c52937 100644 --- a/libieee1284.spec +++ b/libieee1284.spec @@ -1,6 +1,6 @@ Name: libieee1284 Version: 0.2.11 -Release: 30 +Release: 31 Summary: IEEE1284 communications library License: GPLv2+ URL: http://cyberelk.net/tim/libieee1284/ @@ -9,7 +9,7 @@ Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{version Patch0001: libieee1284-strict-aliasing.patch Patch0002: libieee1284-aarch64.patch -BuildRequires: xmlto python2-devel +BuildRequires: xmlto %description This library is intended to be used by applications that need to @@ -24,17 +24,6 @@ Requires: %{name} = %{version}-%{release} The libieee1284-devel package includes header files and libraries necessary for the libieee1284 library. -%package -n python2-libieee1284 -%{?python_provide:%python_provide python2-libieee1284} -Summary: Python extension module for libieee1284 -Provides: %{name}-python = %{version}-%{release} -Requires: %{name} = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} - -%description -n python2-libieee1284 -The python2-libieee1284 package includes extension module for libieee1284. -To use libieee1284 with Python, use 'import ieee1284'. - %package help Summary: This package contains help documents Requires: %{name} = %{version}-%{release} @@ -47,7 +36,7 @@ Files for help with libieee1284. %build touch doc/interface.xml -%configure +%configure --without-python %make_build %install @@ -71,15 +60,15 @@ touch doc/interface.xml %{_includedir}/ieee1284.h %{_libdir}/*.so -%files -n python2-libieee1284 -%{_libdir}/python*/*/*.so - %files help %doc README TODO AUTHORS NEWS %{_mandir}/*/* %changelog +* Mon Oct 26 2020 leiju - 0.2.11-31 +- remove python2 subpackage + * Tue Sep 15 2020 Ge Wang - 0.2.11-30 - Modify Source0 Url