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: make
|
||||||
BuildRequires: libusbx-devel
|
BuildRequires: libusbx-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
|
%if ! 0%{?rhel}
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
|
%endif
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
|
|
||||||
Patch0: 0001-doc-Don-t-document-internal-endian-macros.patch
|
Patch0: 0001-doc-Don-t-document-internal-endian-macros.patch
|
||||||
@ -46,7 +48,11 @@ library for MTP media players.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-udev-rules=69-libmtp.rules
|
--with-udev-rules=69-libmtp.rules \
|
||||||
|
%if 0%{?rhel}
|
||||||
|
--disable-mtpz \
|
||||||
|
%endif
|
||||||
|
%{nil}
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -106,6 +112,7 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp*
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed May 26 2021 Ondrej Holy <oholy@redhat.com> - 1.1.18-4
|
* Wed May 26 2021 Ondrej Holy <oholy@redhat.com> - 1.1.18-4
|
||||||
- Drop redundant devel requires
|
- Drop redundant devel requires
|
||||||
|
- Disable MTPZ support in RHEL
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.18-3
|
* 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
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
Loading…
Reference in New Issue
Block a user