update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rdiscount?expand=0&rev=10
This commit is contained in:
parent
e939a35aab
commit
cec1709f7b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0297f26df8ba56dd8b598c8c8c3796952a2fcf8e3b44f0a8f30cd8ce5fb214a0
|
|
||||||
size 65024
|
|
3
rdiscount-2.1.7.gem
Normal file
3
rdiscount-2.1.7.gem
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:12544e913100bccbb9271ee7d70d2ffbda4988fae65904893fa480e9794a2498
|
||||||
|
size 65536
|
@ -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
|
Mon Jun 3 19:52:25 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -17,13 +17,16 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: rubygem-rdiscount
|
Name: rubygem-rdiscount
|
||||||
Version: 2.1.6
|
Version: 2.1.7
|
||||||
Release: 0
|
Release: 0
|
||||||
%define mod_name rdiscount
|
%define mod_name rdiscount
|
||||||
%define mod_full_name %{mod_name}-%{version}
|
%define mod_full_name %{mod_name}-%{version}
|
||||||
|
%define mod_branch -%{version}
|
||||||
|
%define mod_weight 20107
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: ruby-macros >= 1
|
BuildRequires: ruby-macros >= 1
|
||||||
|
BuildRequires: update-alternatives
|
||||||
# MANUAL
|
# MANUAL
|
||||||
Conflicts: ruby = 1.9.2
|
Conflicts: ruby = 1.9.2
|
||||||
Url: http://dafoster.net/projects/rdiscount/
|
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
|
Summary: Fast Implementation of Gruber's Markdown in C
|
||||||
License: BSD-4-Clause
|
License: BSD-4-Clause
|
||||||
Group: Development/Languages/Ruby
|
Group: Development/Languages/Ruby
|
||||||
%define mod_branch -%{version}
|
|
||||||
%define mod_weight 2
|
|
||||||
PreReq: update-alternatives
|
PreReq: update-alternatives
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -65,8 +66,11 @@ Test::Unit or RSpec files, useful for developers.
|
|||||||
%install
|
%install
|
||||||
%gem_install -f
|
%gem_install -f
|
||||||
%gem_cleanup
|
%gem_cleanup
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
mv %{buildroot}%{_bindir}/rdiscount{,%{mod_branch}}
|
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}
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING
|
ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING
|
||||||
|
|
||||||
@ -83,7 +87,8 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
%{_bindir}/rdiscount%{mod_branch}
|
%{_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}/cache/%{mod_full_name}.gem
|
||||||
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
|
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
|
||||||
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
|
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user