Disable MTPZ support in RHEL
MTPZ is a proprietary protocol and its implementation is based on custom
crypto, which is not desired for RHEL. The Zune service looks dead anyway.
Resolves: #1976905
(cherry picked from Fedora commit 960cbc5951
)
This commit is contained in:
parent
33cc532403
commit
ce3d98d88b
@ -14,7 +14,9 @@ BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: libusbx-devel
|
||||
BuildRequires: doxygen
|
||||
%if ! 0%{?rhel}
|
||||
BuildRequires: libgcrypt-devel
|
||||
%endif
|
||||
BuildRequires: chrpath
|
||||
|
||||
Patch0: 0001-doc-Don-t-document-internal-endian-macros.patch
|
||||
@ -46,7 +48,11 @@ library for MTP media players.
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
--with-udev-rules=69-libmtp.rules
|
||||
--with-udev-rules=69-libmtp.rules \
|
||||
%if 0%{?rhel}
|
||||
--disable-mtpz \
|
||||
%endif
|
||||
%{nil}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -106,6 +112,7 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp*
|
||||
%changelog
|
||||
* Wed May 26 2021 Ondrej Holy <oholy@redhat.com> - 1.1.18-4
|
||||
- Drop redundant devel requires
|
||||
- Disable MTPZ support in RHEL
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.18-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
Loading…
Reference in New Issue
Block a user