commit 9aa80c3a4ceaad7236239bec2fbcb58240a443ae
Author: Elan Ruusamäe <[email protected]>
Date:   Sat Sep 14 16:34:24 2013 +0300

    build to vendor dir

 ruby-rbtree.spec | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/ruby-rbtree.spec b/ruby-rbtree.spec
index c117447..c0ffcb7 100644
--- a/ruby-rbtree.spec
+++ b/ruby-rbtree.spec
@@ -1,16 +1,14 @@
 Summary:       Ruby/RBTree
 Name:          ruby-rbtree
 Version:       0.3.0
-Release:       1
+Release:       2
 License:       BSD
 Group:         Development/Languages
 Source0:       
http://rubyforge.org/frs/download.php/67118/rbtree-%{version}.tar.gz
 # Source0-md5: 1bb99fba5b15bcfeaae75271c3c60043
 URL:           http://raa.ruby-lang.org/project/ruby-rbtree/
-BuildRequires: rpmbuild(macros) >= 1.272
-BuildRequires: ruby
-BuildRequires: ruby-devel
-Requires:      ruby >= 1:1.8
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.665
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,7 +21,9 @@ Hash.
 %setup -qn rbtree-%{version}
 
 %build
-%{__ruby} extconf.rb
+%{__ruby} extconf.rb \
+       --vendor
+
 %{__make} \
        CC="%{__cc}" \
        LDFLAGS="%{rpmldflags}" \
@@ -40,4 +40,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog LICENSE README test.rb
-%attr(755,root,root) %{ruby_sitearchdir}/rbtree.so
+%attr(755,root,root) %{ruby_vendorarchdir}/rbtree.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rbtree.git/commitdiff/9aa80c3a4ceaad7236239bec2fbcb58240a443ae

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to