Sort requirements alphabetically

This commit is contained in:
Zdenek Dohnal 2021-02-18 07:33:31 +01:00
parent 3e10c72aa2
commit 8222c711dc

View File

@ -38,39 +38,39 @@ Patch2: sane-backends-1.0.23-sane-config-multilib.patch
URL: http://www.sane-project.org URL: http://www.sane-project.org
BuildRequires: gettext
# gcc is no longer in buildroot by default # gcc is no longer in buildroot by default
BuildRequires: gcc BuildRequires: gcc
# genesys backend is not written in C++, so it is needed as buildrequire # genesys backend is not written in C++, so it is needed as buildrequire
BuildRequires: gcc-c++ BuildRequires: gcc-c++
# uses make BuildRequires: gphoto2-devel
BuildRequires: make
BuildRequires: %{_bindir}/latex BuildRequires: %{_bindir}/latex
BuildRequires: libieee1284-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
%if %libusb1 %if %libusb1
BuildRequires: libusbx-devel BuildRequires: libusbx-devel
%else %else
BuildRequires: libusb-devel BuildRequires: libusb-devel
%endif %endif
BuildRequires: libieee1284-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libv4l-devel BuildRequires: libv4l-devel
BuildRequires: gettext # uses make
BuildRequires: gphoto2-devel BuildRequires: make
# pixma backend generates header files during build via python script
BuildRequires: python3
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: systemd BuildRequires: systemd
# needed by macros in rpm scriptlets # needed by macros in rpm scriptlets
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
# pixma backend generates header files during build via python script
BuildRequires: python3
Requires: libpng Requires: libpng
Requires: systemd >= 196
Requires: systemd-udev >= 196
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%if 0%{?fedora} >= 32 || 0%{?rhel} > 8 %if 0%{?fedora} >= 32 || 0%{?rhel} > 8
Requires: sane-airscan Requires: sane-airscan
%endif %endif
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: systemd >= 196
Requires: systemd-udev >= 196
# workaround for Brother scanners, which drivers are built with old libnsl # workaround for Brother scanners, which drivers are built with old libnsl
# it is ignored by DNF, but it seems GUI installation apps should offer it # it is ignored by DNF, but it seems GUI installation apps should offer it
@ -102,21 +102,21 @@ want to access scanners.
%package devel %package devel
Summary: SANE development toolkit Summary: SANE development toolkit
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} Requires: libieee1284-devel
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: libjpeg-devel
%if %needs_multilib_quirk Requires: libtiff-devel
Requires: sane-backends-drivers-scanners%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: sane-backends-drivers-cameras%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
%if %libusb1 %if %libusb1
Requires: libusbx-devel Requires: libusbx-devel
%else %else
Requires: libusb-devel Requires: libusb-devel
%endif %endif
Requires: libieee1284-devel
Requires: libjpeg-devel
Requires: libtiff-devel
Requires: pkgconfig Requires: pkgconfig
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
%if %needs_multilib_quirk
Requires: sane-backends-drivers-scanners%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: sane-backends-drivers-cameras%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%endif
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel %description devel
This package contains libraries and header files for writing Scanner Access Now This package contains libraries and header files for writing Scanner Access Now
@ -144,6 +144,7 @@ This package contains backend drivers to access digital cameras through SANE.
Summary: Scanner network daemon Summary: Scanner network daemon
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires(pre): shadow-utils Requires(pre): shadow-utils
%description daemon %description daemon