diff --git a/rubygem-hpricot.spec b/rubygem-hpricot.spec index 6a9dfd4..5d09795 100644 --- a/rubygem-hpricot.spec +++ b/rubygem-hpricot.spec @@ -1,7 +1,7 @@ # # spec file for package rubygem-hpricot # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -14,6 +14,8 @@ # Please submit bugfixes or comments via http://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 @@ -21,24 +23,22 @@ # of those fields # - -%define mod_name hpricot -%define mod_full_name %{mod_name}-%{version} Name: rubygem-hpricot Version: 0.8.6 Release: 0 -Summary: a swift, liberal HTML parser with a fantastic library -License: MIT -Group: Development/Languages/Ruby -Url: http://code.whytheluckystiff.net/hpricot/ -Source: http://rubygems.org/gems/%{mod_full_name}.gem -Source1: gem2rpm.yml -Source99: %{name}-rpmlintrc +%define mod_name hpricot +%define mod_full_name %{mod_name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: ruby-macros >= 5 BuildRequires: %{rubydevel} BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem rdoc > 3.10} -BuildRequires: ruby-macros >= 5 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://code.whytheluckystiff.net/hpricot/ +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: a swift, liberal HTML parser with a fantastic library +License: MIT +Group: Development/Languages/Ruby %description a swift, liberal HTML parser with a fantastic library.