spec: replace deprecated PreReq tags with Requires

This commit is contained in:
Дмитрий Левин 2019-01-20 23:40:39 +00:00
parent 0ea2deffe3
commit dc293615c9

View File

@ -32,30 +32,48 @@ License: GPL
Group: Development/Other
Obsoletes: spec-helper
Requires: librpmbuild = %version-%release
PreReq: shadow-utils
Requires: autoconf autoconf-common automake automake-common bison coreutils cpio
Requires: gcc gettext-tools glibc-devel gnu-config file kernel-headers libtool m4
Requires: procps psmisc sed service which
Requires: %_bindir/subst
Requires: autoconf
Requires: autoconf-common
Requires: automake
Requires: automake-common
Requires: bash >= 0:3.1.17-alt4
# Due to 'readelf --dyn-syms':
Requires: binutils >= 1:2.20.51.0.7
Requires: bison
Requires: bzip2 >= 1:1.0.2-alt4
Requires: xz
Requires: coreutils
Requires: cpio
Requires: elfutils >= 0.143-alt1
Requires: file
Requires: gcc
Requires: gettext-tools
Requires: glibc-devel
Requires: gnu-config
Requires: gzip >= 0:1.3.3-alt2
Requires: info-install >= 4.11
Requires: kernel-headers
Requires: libtool
Requires: m4
# due to -O option in $MAKEFLAGS
Requires: make >= 4.0
Requires: mktemp >= 1:1.3.1
Requires: patch >= 2.5
Requires: tar >= 0:1.13.22-alt1
Requires: %_bindir/subst
Requires: elfutils >= 0.143-alt1
Requires: info-install >= 4.11
Requires: pkgconfig-reqprov pkgconfig-recursion
Requires: pkgconfig-recursion
Requires: pkgconfig-reqprov
Requires: procps
Requires: psmisc
Requires: rpm-build-perl >= 0.76
Requires: rpm-build-python >= 0.31
Requires: rpmspec
Requires: sed
Requires: service
Requires: shadow-utils
Requires: tar >= 0:1.13.22-alt1
Requires: which
Requires: xz
Conflicts: rpm-build-tcl <= 0.2
Conflicts: rpm-build-mono <= 1.0
# Due to 'readelf --dyn-syms':
Requires: binutils >= 1:2.20.51.0.7
Requires: rpmspec
Url: http://www.rpm.org/
@ -82,9 +100,6 @@ Summary: Shared libraries required for applications which will manipulate RPM pa
Summary(ru_RU.UTF-8): Файлы, необходимые для разработки приложений, взаимодействующих с RPM-пакетами
License: GPL/LGPL
Group: System/Libraries
PreReq: zlib >= 1.1.4
PreReq: libpopt >= 1:1.7-alt3
PreReq: libdb4.7
%package -n librpmbuild
Summary: Shared library required for applications which will build RPM packages
@ -117,14 +132,14 @@ Summary: RPM package installation and build directory tree
Summary(ru_RU.UTF-8): Сборочное дерево, используемое для установки SRPM-пакетов и сборки RPM-пакетов
License: GPL
Group: Development/Other
PreReq: %oname-build = %version-%release
Requires: %oname-build = %version-%release
%package static
Summary: Static version of the RPM package management system
Summary(ru_RU.UTF-8): Статическая версия менеджера пакетов RPM
License: GPL
Group: System/Configuration/Packaging
PreReq: %oname = %version-%release
Requires: %oname = %version-%release
%description -l ru_RU.UTF-8
RPM - это мощный неинтерактивный менеджер пакетов, используемый для сборки,
@ -177,7 +192,7 @@ Summary: Python bindings for apps which will manipulate RPM packages
Summary(ru_RU.UTF-8): Интерфейс для разработки Python-приложений, взаимодействующих с RPM-пакетами
License: GPL/LGPL
Group: Development/Python
PreReq: lib%oname = %rpm_version-%release
Requires: lib%oname = %rpm_version-%release
Requires: python = %__python_version
Provides: rpm-python = %{rpm_version}_%__python_version-%release
Obsoletes: rpm-python