try fix build issues
This commit is contained in:
parent
bb869c82a4
commit
3620d4607c
@ -1,27 +1,4 @@
|
|||||||
#
|
%global gem_name ruby-augeas
|
||||||
# spec file for package rubygem-ruby-augeas
|
|
||||||
#
|
|
||||||
# Copyright (c) 2024 SUSE LLC
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
|
|
||||||
# All sections marked as MANUAL, license headers, summaries and descriptions
|
|
||||||
# can be maintained in that file. Please consult this file before editing any
|
|
||||||
# of those fields
|
|
||||||
#
|
|
||||||
|
|
||||||
Name: rubygem-ruby-augeas
|
Name: rubygem-ruby-augeas
|
||||||
Version: 0.6.0
|
Version: 0.6.0
|
||||||
@ -34,10 +11,6 @@ License: LGPL-2.1-or-later
|
|||||||
Group: Development/Languages/Ruby
|
Group: Development/Languages/Ruby
|
||||||
URL: https://augeas.net/
|
URL: https://augeas.net/
|
||||||
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
||||||
Source1: gem2rpm.yml
|
|
||||||
BuildRequires: %{rubydevel >= 1.8.1}
|
|
||||||
BuildRequires: %{rubygem gem2rpm}
|
|
||||||
BuildRequires: ruby-macros >= 5
|
|
||||||
# MANUAL
|
# MANUAL
|
||||||
BuildRequires: augeas-devel
|
BuildRequires: augeas-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -45,20 +18,27 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
%endif
|
%endif
|
||||||
# /MANUAL
|
# /MANUAL
|
||||||
|
BuildRequires: ruby(release) rubygems-devel rubygem(rspec) >= 3 rubygem(did_you_mean)
|
||||||
%description
|
%description
|
||||||
Provides bindings for augeas.
|
Provides bindings for augeas.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%autosetup -n %{mod_full_name} -p1
|
||||||
|
gem unpack %{SOURCE0}
|
||||||
%build
|
%build
|
||||||
|
gem build ../%{mod_full_name}.gemspec
|
||||||
%install
|
%install
|
||||||
%gem_install \
|
%gem_install
|
||||||
--doc-files="COPYING NEWS README.md" \
|
mkdir -p %{buildroot}%{gem_dir}
|
||||||
-f
|
cp -a .%{gem_dir}/* \
|
||||||
%gem_cleanup
|
%{buildroot}%{gem_dir}/
|
||||||
|
|
||||||
%gem_packages
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{gem_instdir}
|
||||||
|
%{gem_libdir}
|
||||||
|
%{_datadir}/gems/doc/%{mod_full_name}/
|
||||||
|
%{_datadir}/gems/gems/%{mod_full_name}/
|
||||||
|
%exclude %{gem_cache}
|
||||||
|
%{gem_spec}
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user