Hello community,

here is the log from the commit of package rubygem-sprockets-2_2 for 
openSUSE:Factory checked in at 2013-11-30 14:24:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sprockets-2_2 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-sprockets-2_2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-sprockets-2_2"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-sprockets-2_2/rubygem-sprockets-2_2.changes  
    2013-04-20 18:02:01.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-sprockets-2_2.new/rubygem-sprockets-2_2.changes
 2013-11-30 16:22:28.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Nov 26 18:15:56 UTC 2013 - [email protected]
+
+- fix usage of u-a
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-sprockets-2_2.spec ++++++
--- /var/tmp/diff_new_pack.L8CsLw/_old  2013-11-30 16:22:29.000000000 +0100
+++ /var/tmp/diff_new_pack.L8CsLw/_new  2013-11-30 16:22:29.000000000 +0100
@@ -21,16 +21,17 @@
 Release:        0
 %define mod_name sprockets
 %define mod_full_name %{mod_name}-%{version}
+%define mod_branch -%{version}
+%define mod_weight 20202
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
+BuildRequires:  update-alternatives
 Url:            http://getsprockets.org/
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Rack-based asset packaging system
 License:        MIT
 Group:          Development/Languages/Ruby
-%define mod_branch -2.2.2
-%define mod_weight 2
 PreReq:         update-alternatives
 
 %description
@@ -55,8 +56,14 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mv %{buildroot}%{_bindir}/sprockets{,%{mod_branch}}
-ln -s sprockets%{mod_branch} %{buildroot}%{_bindir}/sprockets
+touch %{buildroot}%{_sysconfdir}/alternatives/sprockets
+ln -s %{_sysconfdir}/alternatives/sprockets %{buildroot}%{_bindir}/sprockets
+
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -69,8 +76,10 @@
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_bindir}/sprockets%{mod_branch}
-%ghost %{_bindir}/sprockets
+%{_bindir}/sprockets
+%ghost %{_sysconfdir}/alternatives/sprockets
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to