SPECS: ruby-json.spec - package binary extension

aredridel aredridel at pld-linux.org
Sun Apr 15 03:07:28 CEST 2007


Author: aredridel                    Date: Sun Apr 15 01:07:28 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package binary extension

---- Files affected:
SPECS:
   ruby-json.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/ruby-json.spec
diff -u SPECS/ruby-json.spec:1.14 SPECS/ruby-json.spec:1.15
--- SPECS/ruby-json.spec:1.14	Sun Apr 15 02:50:31 2007
+++ SPECS/ruby-json.spec	Sun Apr 15 03:07:22 2007
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: Name vs spec filename
 Summary:	JSON library for Ruby
 Summary(pl.UTF-8):	Biblioteka JSON dla języka Ruby
 Name:		ruby-json
@@ -29,6 +28,10 @@
 install %{_datadir}/setup.rb .
 
 %build
+mv ext/json/ext/generator ext/json/generator
+mv ext/json/ext/parser ext/json/parser
+touch ext/json/{parser,generator}/MANIFEST
+
 ruby setup.rb config \
 	--rbdir=%{ruby_rubylibdir} \
 	--sodir=%{ruby_archdir}
@@ -52,9 +55,13 @@
 %files
 %defattr(644,root,root,755)
 %doc rdoc/*
-%attr(755,root,root) %{_bindir}/*.rb
+%attr(755,root,root) %{_bindir}/*
 %{ruby_rubylibdir}/json
 %{ruby_rubylibdir}/json.rb
+%dir %{ruby_archdir}/json
+%attr(755,root,root) %{ruby_archdir}/json/generator.so
+%attr(755,root,root) %{ruby_archdir}/json/parser.so
+
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2007/04/15 01:07:22  aredridel
+- package binary extension
+
 Revision 1.14  2007/04/15 00:50:31  aredridel
 - 1.0.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ruby-json.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list