try fix build issues
This commit is contained in:
parent
18f8757988
commit
187e9c3de7
@ -1,20 +1,4 @@
|
|||||||
#
|
%global gem_name cfa_grub2
|
||||||
# spec file for package rubygem-cfa_grub2
|
|
||||||
#
|
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
||||||
#
|
|
||||||
# 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 http://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
Name: rubygem-cfa_grub2
|
Name: rubygem-cfa_grub2
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
@ -22,9 +6,7 @@ Release: 0
|
|||||||
%define mod_name cfa_grub2
|
%define mod_name cfa_grub2
|
||||||
%define mod_full_name %{mod_name}-%{version}
|
%define mod_full_name %{mod_name}-%{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: rubygem-gem2rpm
|
BuildRequires: ruby(release) rubygems-devel rubygems(rspec) >= 3 rubygem(did_you_mean)
|
||||||
BuildRequires: ruby
|
|
||||||
BuildRequires: ruby-macros >= 5
|
|
||||||
Url: https://github.com/config-files-api/config_files_api_grub2
|
Url: https://github.com/config-files-api/config_files_api_grub2
|
||||||
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
||||||
Summary: Models for GRUB2 configuration files
|
Summary: Models for GRUB2 configuration files
|
||||||
@ -36,13 +18,18 @@ Models allowing easy read and modification of GRUB2 configuration files. It is
|
|||||||
a plugin for cfa framework.
|
a plugin for cfa framework.
|
||||||
|
|
||||||
%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 \
|
||||||
-f
|
%files
|
||||||
|
%dir %{gem_instdir}
|
||||||
%gem_packages
|
%{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