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.
This commit is contained in:
parent
16f47f1864
commit
960cbc5951
@ -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-3
|
* Wed May 26 2021 Ondrej Holy <oholy@redhat.com> - 1.1.18-3
|
||||||
- Drop redundant devel requires
|
- Drop redundant devel requires
|
||||||
|
- Disable MTPZ support in RHEL
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.18-2
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.18-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user