From cc35e2b5abe087993ca0072be158c8fa7b55fdead3fe2ee1c34b321671ed7b19 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 22 Oct 2014 13:42:36 +0000 Subject: [PATCH] Accepting request 257989 from home:tboerger:branches:devel:languages:ruby:extensions Updated to new macros OBS-URL: https://build.opensuse.org/request/show/257989 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ronn?expand=0&rev=2 --- gem2rpm.yml | 1 + rubygem-ronn.changes | 5 ++++ rubygem-ronn.spec | 65 ++++++++++++++++++++------------------------ 3 files changed, 36 insertions(+), 35 deletions(-) create mode 100644 gem2rpm.yml diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..afc0728 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1 @@ +:license: MIT diff --git a/rubygem-ronn.changes b/rubygem-ronn.changes index 16c189e..cd1ed72 100644 --- a/rubygem-ronn.changes +++ b/rubygem-ronn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 22 13:28:02 UTC 2014 - tboerger@suse.com + +- Updated to new macros + ------------------------------------------------------------------- Sat Mar 24 16:40:07 CET 2012 - berendt@b1-systems.de diff --git a/rubygem-ronn.spec b/rubygem-ronn.spec index ddc64a6..d94bc2d 100644 --- a/rubygem-ronn.spec +++ b/rubygem-ronn.spec @@ -1,8 +1,7 @@ # -# spec file for package rubygem-ronn (Version 0.7.3) +# spec file for package rubygem-ronn # -# Copyright (c) 2012 B1 Systems GmbH, Vohburg, Germany. -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -16,50 +15,46 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild + +# +# 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-ronn Version: 0.7.3 Release: 0 %define mod_name ronn -# -Group: Development/Languages/Ruby -License: GPLv2+ or Ruby -# +%define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch -Requires: rubygems >= 1.8.15 -BuildRequires: rubygem-hpricot >= 0.8.2 -Requires: rubygem-hpricot >= 0.8.2 -BuildRequires: rubygem-rdiscount >= 1.5.8 -Requires: rubygem-rdiscount >= 1.5.8 -BuildRequires: rubygem-mustache >= 0.7.0 -Requires: rubygem-mustache >= 0.7.0 -# +BuildRequires: ruby-macros >= 5 +BuildRequires: %{ruby} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem rdoc > 3.10} +BuildRequires: update-alternatives Url: http://rtomayko.github.com/ronn -Source: %{mod_name}-%{version}.gem -# +Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml Summary: Builds manuals -%description -Builds manuals +License: MIT +Group: Development/Languages/Ruby +PreReq: update-alternatives +%description +Builds manuals. %prep + %build + %install -%gem_install %{S:0} +%gem_install \ + --symlink-binaries \ + --doc-files="CHANGES COPYING README.md" \ + -f - -%clean -%{__rm} -rf %{buildroot} - -%files -%defattr(-,root,root,-) - -%{_bindir}/ronn - -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ +%gem_packages %changelog