packages: ruby-grit/ruby-grit.spec - use %{ruby_*} macros in %files

sparky sparky at pld-linux.org
Tue Feb 8 02:21:47 CET 2011


Author: sparky                       Date: Tue Feb  8 01:21:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use %{ruby_*} macros in %files

---- Files affected:
packages/ruby-grit:
   ruby-grit.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/ruby-grit/ruby-grit.spec
diff -u packages/ruby-grit/ruby-grit.spec:1.4 packages/ruby-grit/ruby-grit.spec:1.5
--- packages/ruby-grit/ruby-grit.spec:1.4	Sun Jan 23 14:43:26 2011
+++ packages/ruby-grit/ruby-grit.spec	Tue Feb  8 02:21:41 2011
@@ -12,7 +12,7 @@
 Group:		Development/Tools
 Source0:	http://download.github.com/%{gitauthor}-%{gitname}-v%{version}-0-g%{gitrev}.tar.gz
 # Source0-md5:	5e6a2d136de6c66059d439f3e2a41b55
-Patch0:	%{name}-nogems.patch
+Patch0:		%{name}-nogems.patch
 URL:		http://grit.rubyforge.org/
 BuildRequires:	rpmbuild(macros) >= 1.277
 BuildRequires:	ruby
@@ -23,12 +23,13 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Grit gives you object oriented read/write access to Git repositories via Ruby.
-The main goals are stability and performance. To this end, some of the
-interactions with Git repositories are done by shelling out to the system's
-`git` command, and other interactions are done with pure Ruby reimplementations
-of core Git functionality. This choice, however, is transparent to end users,
-and you need not know which method is being used.
+Grit gives you object oriented read/write access to Git repositories
+via Ruby. The main goals are stability and performance. To this end,
+some of the interactions with Git repositories are done by shelling
+out to the system's `git` command, and other interactions are done
+with pure Ruby reimplementations of core Git functionality. This
+choice, however, is transparent to end users, and you need not know
+which method is being used.
 
 %prep
 %setup -q -n %{gitauthor}-%{gitname}-%{gitrev}
@@ -49,8 +50,8 @@
 
 %files
 %defattr(644,root,root,755)
-/usr/lib/ruby/1.8/grit.rb
-/usr/lib/ruby/1.8/grit
+%{ruby_rubylibdir}/grit.rb
+%{ruby_rubylibdir}/grit
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -58,6 +59,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2011/02/08 01:21:41  sparky
+- use %{ruby_*} macros in %files
+
 Revision 1.4  2011/01/23 13:43:26  sparky
 - BR: unlock setup.rb version (allow newer setup.rb)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ruby-grit/ruby-grit.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list