From b15be8d21592bf5c6625d7f6c2a19885ebe8e6b8 Mon Sep 17 00:00:00 2001 From: Vaidas Jablonskis Date: Sun, 1 Sep 2013 17:00:35 +0100 Subject: [PATCH 1/3] rpm spec: major upgrade to support f19 and ruby 2.0 --- entrydns.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/entrydns.spec b/entrydns.spec index 65d583a..b4aef06 100644 --- a/entrydns.spec +++ b/entrydns.spec @@ -7,7 +7,7 @@ %global entrydns_systemd_unit unicorn-entrydns.service Name: entrydns -Version: 0.0.7 +Version: 0.1.0 Release: 1%{?dist} Summary: Free DNS management service for everyone @@ -17,18 +17,18 @@ URL: https://entrydns.net Source0: %{name}-%{version}.tar.gz BuildArch: x86_64 -BuildRequires: ruby(abi) = 1.9.1 -BuildRequires: rubygems >= 1.8 -BuildRequires: ruby-devel >= 1.9.3 +BuildRequires: ruby(abi) = 2.0 +BuildRequires: rubygems >= 2.0 +BuildRequires: ruby-devel >= 2.0 BuildRequires: mysql-devel >= 5.5 -BuildRequires: rubygems-devel >= 1.8 +BuildRequires: rubygems-devel >= 2.0 BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: mysql-server -Requires: ruby(abi) = 1.9.1 +Requires: ruby(abi) = 2.0 Requires: memcached >= 1.4.10 -Requires: nodejs >= 0.9.5 +Requires: nodejs >= 0.10.0 Requires: rubygem-bundler >= 1.1.4 Requires(post): systemd Requires(preun): systemd @@ -146,6 +146,9 @@ exit 0 %changelog +* Sun Sep 01 2013 Vaidas Jablonskis - 1:0.1.0-1 +- Major upgrade to support ruby 2.0 and more. + * Sat Apr 20 2013 Vaidas Jablonskis - 1:0.0.6-1 - Make sure /run/entrydns is created properly From 11d886bac34a1fb2f27e0fca8cd51ea322f6055b Mon Sep 17 00:00:00 2001 From: Vaidas Jablonskis Date: Sun, 1 Sep 2013 17:27:13 +0100 Subject: [PATCH 2/3] rpm spec: update ruby abi version --- entrydns.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/entrydns.spec b/entrydns.spec index b4aef06..d405bd0 100644 --- a/entrydns.spec +++ b/entrydns.spec @@ -17,16 +17,16 @@ URL: https://entrydns.net Source0: %{name}-%{version}.tar.gz BuildArch: x86_64 -BuildRequires: ruby(abi) = 2.0 -BuildRequires: rubygems >= 2.0 -BuildRequires: ruby-devel >= 2.0 +BuildRequires: ruby(abi) = 2.0.0 +BuildRequires: rubygems >= 2.0.0 +BuildRequires: ruby-devel >= 2.0.0 BuildRequires: mysql-devel >= 5.5 BuildRequires: rubygems-devel >= 2.0 BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: mysql-server -Requires: ruby(abi) = 2.0 +Requires: ruby(abi) = 2.0.0 Requires: memcached >= 1.4.10 Requires: nodejs >= 0.10.0 Requires: rubygem-bundler >= 1.1.4 From 5b026b4e56b3c5204e0d65a647d024b4a79ea444 Mon Sep 17 00:00:00 2001 From: Vaidas Jablonskis Date: Sun, 1 Sep 2013 17:36:46 +0100 Subject: [PATCH 3/3] spec: changed abi to release Seems like f19 changed how they name that. --- entrydns.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrydns.spec b/entrydns.spec index d405bd0..c7fc929 100644 --- a/entrydns.spec +++ b/entrydns.spec @@ -17,7 +17,7 @@ URL: https://entrydns.net Source0: %{name}-%{version}.tar.gz BuildArch: x86_64 -BuildRequires: ruby(abi) = 2.0.0 +BuildRequires: ruby(release) = 2.0.0 BuildRequires: rubygems >= 2.0.0 BuildRequires: ruby-devel >= 2.0.0 BuildRequires: mysql-devel >= 5.5 @@ -26,7 +26,7 @@ BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: mysql-server -Requires: ruby(abi) = 2.0.0 +Requires: ruby(release) = 2.0.0 Requires: memcached >= 1.4.10 Requires: nodejs >= 0.10.0 Requires: rubygem-bundler >= 1.1.4