try fix build issues
This commit is contained in:
parent
67e301c45a
commit
49851f3c46
@ -1,20 +1,5 @@
|
|||||||
#
|
# originally from openSUSE, modified for integration with openEuelr package architecture
|
||||||
# spec file for package rubygem-abstract_method
|
%global gem_name abstract_method
|
||||||
#
|
|
||||||
# Copyright (c) 2014 SUSE LINUX Products 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-abstract_method
|
Name: rubygem-abstract_method
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -35,14 +20,24 @@ Abstract Method is a tiny library enabling you to define abstract methods in
|
|||||||
Ruby classes and modules.
|
Ruby classes and modules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%setup -q -n %{gem_name}-%{version} -b 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
gem build ../%{gem_name}-%{version}.gemspec
|
||||||
|
%gem_install
|
||||||
%install
|
%install
|
||||||
%gem_install \
|
mkdir -p %{buildroot}%{gem_dir}
|
||||||
--doc-files="LICENSE README.md" \
|
cp -a .%{gem_dir}/* \
|
||||||
-f
|
%{buildroot}%{gem_dir}/
|
||||||
|
%files
|
||||||
|
%dir %{gem_instdir}
|
||||||
|
%license %{gem_instdir}/MIT-LICENSE
|
||||||
|
%{gem_libdir}
|
||||||
|
%exclude %{gem_cache}
|
||||||
|
%{gem_spec}
|
||||||
|
|
||||||
%gem_packages
|
%files doc
|
||||||
|
%doc %{gem_docdir}
|
||||||
|
%doc %{gem_instdir}/README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user