Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
:
Snorby
>
rubygem-rack
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
rubygem-rack.changes
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue May 28 05:28:04 UTC 2013 - coolo@suse.com + +- new template version + +------------------------------------------------------------------- Tue Feb 12 13:45:09 UTC 2013 - coolo@suse.com - updated to version 1.5.2
[-]
[+]
Changed
rubygem-rack.spec
^
@@ -21,21 +21,17 @@ Release: 0 %define mod_name rack %define mod_full_name %{mod_name}-%{version} -%define mod_branch -1_5 -%define mod_weight 15 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 -Requires: ruby19 -BuildRequires: ruby19-devel -Requires(pre): update-alternatives Url: http://rack.github.com/ -Source0: %{mod_full_name}.gem -Source1: %{name}-rpmlintrc -Summary: A modular Ruby webserver interface +Source: http://rubygems.org/gems/%{mod_full_name}.gem +Summary: a modular Ruby webserver interface License: MIT Group: Development/Languages/Ruby -%define rb_ver %{rb19_ver} +%define mod_branch -%{version} +%define mod_weight 1 +PreReq: update-alternatives %description Rack provides a minimal, modular and adaptable interface for developing @@ -70,10 +66,12 @@ %build %install -## %gem19_install -f -%gem19_install %{S:0} || : +%gem_install -f mv %{buildroot}%{_bindir}/rackup{,%{mod_branch}} -ln -s rackup %{buildroot}%{_bindir}/rackup +ln -s rackup%{mod_branch} %{buildroot}%{_bindir}/rackup +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}/README.rdoc %buildroot/%{_docdir}/%{name}/README.rdoc %post /usr/sbin/update-alternatives --install \ @@ -86,8 +84,9 @@ %files %defattr(-,root,root,-) -%ghost %config(noreplace) %{_bindir}/rackup +%{_docdir}/%{name} %{_bindir}/rackup%{mod_branch} +%ghost %{_bindir}/rackup %{_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