- updated to version 2.0.7.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rdiscount?expand=0&rev=8
This commit is contained in:
parent
1563491ad7
commit
0a42536967
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6d78d961fc846f35cff7ac6fd05aff85a81d74ce04c04c5b1507ac7538a5cf6
|
||||
size 59904
|
3
rdiscount-2.0.7.3.gem
Normal file
3
rdiscount-2.0.7.3.gem
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56f07118ce3e49100d6d1c148b4fd58de18d0b8404fd76059e34122e2ec80ac0
|
||||
size 59904
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 18 07:42:18 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to version 2.0.7.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 17:46:16 UTC 2013 - mrueckert@suse.de
|
||||
|
||||
|
@ -17,18 +17,21 @@
|
||||
|
||||
|
||||
Name: rubygem-rdiscount
|
||||
Version: 2.0.7.1
|
||||
Version: 2.0.7.3
|
||||
Release: 0
|
||||
%define mod_name rdiscount
|
||||
%define mod_full_name %{mod_name}-%{version}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: ruby-macros >= 1
|
||||
Url: http://github.com/rtomayko/rdiscount
|
||||
Source: %{mod_full_name}.gem
|
||||
Url: http://dafoster.net/projects/rdiscount/
|
||||
Source: http://rubygems.org/gems/%{mod_full_name}.gem
|
||||
Summary: Fast Implementation of Gruber's Markdown in C
|
||||
License: BSD4c
|
||||
License: BSD-4-Clause
|
||||
Group: Development/Languages/Ruby
|
||||
%define mod_branch -%{version}
|
||||
%define mod_weight 2
|
||||
PreReq: update-alternatives
|
||||
|
||||
%description
|
||||
Fast Implementation of Gruber's Markdown in C
|
||||
@ -60,10 +63,25 @@ Test::Unit or RSpec files, useful for developers.
|
||||
%install
|
||||
%gem_install -f
|
||||
%gem_cleanup
|
||||
mv %{buildroot}%{_bindir}/rdiscount{,%{mod_branch}}
|
||||
ln -s rdiscount%{mod_branch} %{buildroot}%{_bindir}/rdiscount
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING
|
||||
|
||||
%post
|
||||
/usr/sbin/update-alternatives --install \
|
||||
%{_bindir}/rdiscount rdiscount %{_bindir}/rdiscount%{mod_branch} %{mod_weight}
|
||||
|
||||
%preun
|
||||
if [ "$1" = 0 ] ; then
|
||||
/usr/sbin/update-alternatives --remove rdiscount %{_bindir}/rdiscount%{mod_branch}
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/rdiscount
|
||||
%{_docdir}/%{name}
|
||||
%{_bindir}/rdiscount%{mod_branch}
|
||||
%ghost %{_bindir}/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
|
||||
|
Loading…
x
Reference in New Issue
Block a user