Compare commits
8 Commits
5.16.1-1ma
...
5.22.1-2ma
| Author | SHA1 | Date | |
|---|---|---|---|
| 43ed981aba | |||
| ff6ea4d7fc | |||
| 353338007d | |||
| 421da2ed31 | |||
| a5bb081d4b | |||
| 6cec3ff671 | |||
| b52f5e19c9 | |||
| 99393d394d |
30
calibre-5.22.1-python-zeroconf-0.36.7.patch
Normal file
30
calibre-5.22.1-python-zeroconf-0.36.7.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
diff --color -Naru a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py
|
||||
--- a/src/calibre/devices/smart_device_app/driver.py 2021-08-08 08:32:03.104016444 +0200
|
||||
+++ b/src/calibre/devices/smart_device_app/driver.py 2021-08-08 08:33:30.699018403 +0200
|
||||
@@ -2040,13 +2040,6 @@
|
||||
# Function to monkeypatch zeroconf to remove the 15 character name length restriction.
|
||||
# Copied from https://github.com/jstasiak/python-zeroconf version 0.28.1
|
||||
|
||||
-
|
||||
-from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z,
|
||||
- _HAS_ONLY_A_TO_Z_NUM_HYPHEN_UNDERSCORE,
|
||||
- _HAS_ASCII_CONTROL_CHARS,
|
||||
- _HAS_ONLY_A_TO_Z_NUM_HYPHEN)
|
||||
-
|
||||
-
|
||||
def service_type_name(type_: str, *, allow_underscores: bool = False) -> str:
|
||||
"""
|
||||
Validate a fully qualified service name, instance or subtype. [rfc6763]
|
||||
@@ -2087,6 +2080,12 @@
|
||||
:param type_: Type, SubType or service name to validate
|
||||
:return: fully qualified service name (eg: _http._tcp.local.)
|
||||
"""
|
||||
+
|
||||
+ from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z,
|
||||
+ _HAS_ONLY_A_TO_Z_NUM_HYPHEN_UNDERSCORE,
|
||||
+ _HAS_ASCII_CONTROL_CHARS,
|
||||
+ _HAS_ONLY_A_TO_Z_NUM_HYPHEN)
|
||||
+
|
||||
if not (type_.endswith('._tcp.local.') or type_.endswith('._udp.local.')):
|
||||
raise BadTypeInNameException("Type '%s' must end with '._tcp.local.' or '._udp.local.'" % type_)
|
||||
|
||||
33
calibre.spec
33
calibre.spec
@@ -1,6 +1,6 @@
|
||||
Name: calibre
|
||||
Version: 5.16.1
|
||||
Release: 1mamba
|
||||
Version: 5.22.1
|
||||
Release: 2mamba
|
||||
Summary: A free and open source e-book library management application
|
||||
Group: Graphical Desktop/Applications/Multimedia
|
||||
Vendor: openmamba
|
||||
@@ -15,14 +15,15 @@ Patch2: calibre-0.7.59-libpng-1.5.patch
|
||||
Patch3: calibre-0.7.50-python-lxml.patch
|
||||
Patch4: calibre-5.10.1-slug-build-fix.patch
|
||||
Patch5: calibre-5.16.0-python-3.7.patch
|
||||
Patch6: calibre-5.22.1-python-zeroconf-0.36.7.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libglvnd-devel
|
||||
BuildRequires: libhunspell-devel
|
||||
BuildRequires: libhyphen-devel
|
||||
BuildRequires: libicu-devel
|
||||
@@ -32,6 +33,7 @@ BuildRequires: libpodofo-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libstemmer-devel
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
@@ -103,6 +105,7 @@ calibre is a free and open source e-book library management application develope
|
||||
#:<< _EOF
|
||||
#%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
# Use uppercase naming scheme, don't delete config files under fakeroot.
|
||||
sed -e "/import config_dir/,/os.rmdir(config_dir)/d" \
|
||||
-e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 'xhtml'/" \
|
||||
@@ -213,6 +216,30 @@ install -d %{buildroot}%{_datadir}/zsh/site-functions
|
||||
%{python3_sitelib}/init_calibre.py
|
||||
|
||||
%changelog
|
||||
* Tue Oct 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.22.1-2mamba
|
||||
- added patch against python-zeroconf 0.36.7
|
||||
|
||||
* Sat Jun 26 2021 Automatic Build System <autodist@mambasoft.it> 5.22.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jun 25 2021 Automatic Build System <autodist@mambasoft.it> 5.22.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jun 11 2021 Automatic Build System <autodist@mambasoft.it> 5.21.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jun 04 2021 Automatic Build System <autodist@mambasoft.it> 5.20.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri May 28 2021 Automatic Build System <autodist@mambasoft.it> 5.19.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri May 21 2021 Automatic Build System <autodist@mambasoft.it> 5.18.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Apr 30 2021 Automatic Build System <autodist@mambasoft.it> 5.17.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Apr 19 2021 Automatic Build System <autodist@mambasoft.it> 5.16.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user