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 5
[-]
[+]
Changed
rubygem-rack.changes
@@ -1,9 +1,4 @@ ------------------------------------------------------------------- -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,17 +21,21 @@ 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/ -Source: http://rubygems.org/gems/%{mod_full_name}.gem -Summary: a modular Ruby webserver interface +Source0: %{mod_full_name}.gem +Source1: %{name}-rpmlintrc +Summary: A modular Ruby webserver interface License: MIT Group: Development/Languages/Ruby -%define mod_branch -%{version} -%define mod_weight 1 -PreReq: update-alternatives +%define rb_ver %{rb19_ver} %description Rack provides a minimal, modular and adaptable interface for developing @@ -66,12 +70,10 @@ %build %install -%gem_install -f +## %gem19_install -f +%gem19_install %{S:0} || : mv %{buildroot}%{_bindir}/rackup{,%{mod_branch}} -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 +ln -s rackup %{buildroot}%{_bindir}/rackup %post /usr/sbin/update-alternatives --install \ @@ -84,9 +86,8 @@ %files %defattr(-,root,root,-) -%{_docdir}/%{name} +%ghost %config(noreplace) %{_bindir}/rackup %{_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