From cec1709f7bd6b268001170b92ed99afd39dc8b933739d09277fb54315fc53331 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 20 Oct 2013 14:20:11 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rdiscount?expand=0&rev=10 --- rdiscount-2.1.6.gem | 3 --- rdiscount-2.1.7.gem | 3 +++ rubygem-rdiscount.changes | 5 +++++ rubygem-rdiscount.spec | 15 ++++++++++----- 4 files changed, 18 insertions(+), 8 deletions(-) delete mode 100644 rdiscount-2.1.6.gem create mode 100644 rdiscount-2.1.7.gem diff --git a/rdiscount-2.1.6.gem b/rdiscount-2.1.6.gem deleted file mode 100644 index 4fbae36..0000000 --- a/rdiscount-2.1.6.gem +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0297f26df8ba56dd8b598c8c8c3796952a2fcf8e3b44f0a8f30cd8ce5fb214a0 -size 65024 diff --git a/rdiscount-2.1.7.gem b/rdiscount-2.1.7.gem new file mode 100644 index 0000000..2d9c2e7 --- /dev/null +++ b/rdiscount-2.1.7.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12544e913100bccbb9271ee7d70d2ffbda4988fae65904893fa480e9794a2498 +size 65536 diff --git a/rubygem-rdiscount.changes b/rubygem-rdiscount.changes index 5923991..92c9717 100644 --- a/rubygem-rdiscount.changes +++ b/rubygem-rdiscount.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 20 12:05:39 UTC 2013 - coolo@suse.com + +- updated to version 2.1.7 + ------------------------------------------------------------------- Mon Jun 3 19:52:25 UTC 2013 - coolo@suse.com diff --git a/rubygem-rdiscount.spec b/rubygem-rdiscount.spec index 83380e6..0119872 100644 --- a/rubygem-rdiscount.spec +++ b/rubygem-rdiscount.spec @@ -17,13 +17,16 @@ Name: rubygem-rdiscount -Version: 2.1.6 +Version: 2.1.7 Release: 0 %define mod_name rdiscount %define mod_full_name %{mod_name}-%{version} +%define mod_branch -%{version} +%define mod_weight 20107 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 +BuildRequires: update-alternatives # MANUAL Conflicts: ruby = 1.9.2 Url: http://dafoster.net/projects/rdiscount/ @@ -31,8 +34,6 @@ Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary: Fast Implementation of Gruber's Markdown in C License: BSD-4-Clause Group: Development/Languages/Ruby -%define mod_branch -%{version} -%define mod_weight 2 PreReq: update-alternatives %description @@ -65,8 +66,11 @@ Test::Unit or RSpec files, useful for developers. %install %gem_install -f %gem_cleanup +mkdir -p %{buildroot}%{_sysconfdir}/alternatives mv %{buildroot}%{_bindir}/rdiscount{,%{mod_branch}} -ln -s rdiscount%{mod_branch} %{buildroot}%{_bindir}/rdiscount +touch %{buildroot}%{_sysconfdir}/alternatives/rdiscount +ln -s %{_sysconfdir}/alternatives/rdiscount %{buildroot}%{_bindir}/rdiscount + mkdir -p %{buildroot}%{_docdir}/%{name} ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING @@ -83,7 +87,8 @@ fi %defattr(-,root,root,-) %{_docdir}/%{name} %{_bindir}/rdiscount%{mod_branch} -%ghost %{_bindir}/rdiscount +%{_bindir}/rdiscount +%ghost %{_sysconfdir}/alternatives/rdiscount %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test