Generate RPM dependencies with RPM 4.20 API
Use new RPM 4.20 API to generate RPM dependencies instead of relying on rpm-local-generator-support. See: https://rpm-software-management.github.io/rpm/manual/dependency_generators.html#using-file-attributes-in-their-own-package
This commit is contained in:
parent
2e6762df8d
commit
6bed1e3bd5
1 changed files with 1 additions and 1 deletions
|
|
@ -241,6 +241,7 @@ Source19: test_rubygems_con.rb
|
|||
%{load:%{SOURCE4}}
|
||||
%{load:%{SOURCE5}}
|
||||
|
||||
%define _local_file_attrs local_generator
|
||||
%define __local_generator_requires make -C %{_builddir}/%{buildsubdir}/%{_vpath_builddir} -s runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE9}"
|
||||
%define __local_generator_provides make -C %{_builddir}/%{buildsubdir}/%{_vpath_builddir} -s runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE10}"
|
||||
%define __local_generator_conflicts make -C %{_builddir}/%{buildsubdir}/%{_vpath_builddir} -s runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE11}"
|
||||
|
|
@ -285,7 +286,6 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|||
Recommends: ruby(rubygems) >= %{rubygems_version}
|
||||
Recommends: rubygem(bigdecimal) >= %{bigdecimal_version}
|
||||
|
||||
BuildRequires: rpm-local-generator-support
|
||||
# Build dependencies
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: gcc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue