[packages/python-pycdio] - up to 2.0.0

baggins baggins at pld-linux.org
Sun Mar 25 00:43:34 CET 2018


commit 8eacc6c2474c5c67b34f8a392978b61505036189
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Mar 25 00:43:22 2018 +0100

    - up to 2.0.0

 python-pycdio-update.patch | 32 --------------------------------
 python-pycdio.spec         | 14 ++++++--------
 2 files changed, 6 insertions(+), 40 deletions(-)
---
diff --git a/python-pycdio.spec b/python-pycdio.spec
index fd3fa23..780a4d9 100644
--- a/python-pycdio.spec
+++ b/python-pycdio.spec
@@ -5,13 +5,12 @@
 Summary:	Python 2 bindings for libcdio
 Summary(pl.UTF-8):	Wiązania Pythona 2 do libcdio
 Name:		python-pycdio
-Version:	0.20
-Release:	6
+Version:	2.0.0
+Release:	1
 License:	GPL v2+
 Group:		Libraries/Python
 Source0:	http://ftp.gnu.org/gnu/libcdio/pycdio-%{version}.tar.gz
-# Source0-md5:	3f075574f661f49f4ede89aff9ff0cda
-Patch0:		%{name}-update.patch
+# Source0-md5:	09dd91ea81bf6ad13c8d8435779d307a
 URL:		http://www.gnu.org/software/libcdio/
 BuildRequires:	libcdio-devel >= 0.84
 BuildRequires:	pkgconfig
@@ -20,7 +19,7 @@ BuildRequires:	pkgconfig
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	swig-python >= 3
-Requires:	libcdio >= 0.84
+Requires:	libcdio >= 2.0.0
 Requires:	python-libs >= 1:2.3.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -57,7 +56,6 @@ Przykładowe programy w Pythonie używające libcdio.
 
 %prep
 %setup -q -n pycdio-%{version}
-%patch0 -p1
 
 %build
 %if %{with python2}
@@ -90,7 +88,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README.txt THANKS
+%doc ChangeLog README.rst THANKS
 %attr(755,root,root) %{py_sitedir}/_pycdio.so
 %attr(755,root,root) %{py_sitedir}/_pyiso9660.so
 %{py_sitedir}/cdio.py[co]
@@ -103,7 +101,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %files -n python3-pycdio
 %defattr(644,root,root,755)
-%doc ChangeLog README.txt THANKS
+%doc ChangeLog README.rst THANKS
 %attr(755,root,root) %{py3_sitedir}/_pycdio.cpython-*.so
 %attr(755,root,root) %{py3_sitedir}/_pyiso9660.cpython-*.so
 %{py3_sitedir}/cdio.py
diff --git a/python-pycdio-update.patch b/python-pycdio-update.patch
deleted file mode 100644
index bdd9d31..0000000
--- a/python-pycdio-update.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- pycdio-0.20/swig/device_const.swg.orig	2013-02-20 12:32:41.000000000 +0100
-+++ pycdio-0.20/swig/device_const.swg	2017-12-10 20:53:27.839959959 +0100
-@@ -83,7 +83,6 @@
- /* driver_id_t enums. */
- %constant long int DRIVER_UNKNOWN = DRIVER_UNKNOWN;
- %constant long int DRIVER_AIX     = DRIVER_AIX;
--%constant long int DRIVER_BSDI    = DRIVER_BSDI;
- %constant long int DRIVER_FREEBSD = DRIVER_FREEBSD;
- %constant long int DRIVER_LINUX   = DRIVER_LINUX;
- %constant long int DRIVER_SOLARIS = DRIVER_SOLARIS;
-diff -ur pycdio-0.20.orig/cdio.py pycdio-0.20/cdio.py
---- pycdio-0.20.orig/cdio.py	2018-02-15 18:19:00.344688689 +0100
-+++ pycdio-0.20/cdio.py	2018-02-15 18:19:09.607963138 +0100
-@@ -47,7 +47,6 @@
- drivers = {
-     'Unknown'  : pycdio.DRIVER_UNKNOWN,
-     'AIX'      : pycdio.DRIVER_AIX,
--    'BSDI'     : pycdio.DRIVER_BSDI,
-     'FreeBSD'  : pycdio.DRIVER_FREEBSD,
-     'GNU/Linux': pycdio.DRIVER_LINUX,
-     'linux'    : pycdio.DRIVER_LINUX,
-diff -ur pycdio-0.20.orig/pycdio.py pycdio-0.20/pycdio.py
---- pycdio-0.20.orig/pycdio.py	2018-02-15 18:19:00.344688689 +0100
-+++ pycdio-0.20/pycdio.py	2018-02-15 18:19:16.171254642 +0100
-@@ -653,7 +653,6 @@
- SRC_IS_NATIVE_MASK = _pycdio.SRC_IS_NATIVE_MASK
- DRIVER_UNKNOWN = _pycdio.DRIVER_UNKNOWN
- DRIVER_AIX = _pycdio.DRIVER_AIX
--DRIVER_BSDI = _pycdio.DRIVER_BSDI
- DRIVER_FREEBSD = _pycdio.DRIVER_FREEBSD
- DRIVER_LINUX = _pycdio.DRIVER_LINUX
- DRIVER_SOLARIS = _pycdio.DRIVER_SOLARIS
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pycdio.git/commitdiff/8eacc6c2474c5c67b34f8a392978b61505036189



More information about the pld-cvs-commit mailing list