Author: qboosh                       Date: Mon Nov 26 18:08:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more verbose files
- include COPYING in files (BSD license and D&R joke)
- avoid passing invalid --install-platlib

---- Files affected:
SPECS:
   syck.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/syck.spec
diff -u SPECS/syck.spec:1.11 SPECS/syck.spec:1.12
--- SPECS/syck.spec:1.11        Mon Nov 26 18:44:50 2007
+++ SPECS/syck.spec     Mon Nov 26 19:08:20 2007
@@ -5,7 +5,7 @@
 Version:       0.55
 Release:       1
 License:       BSD
-Group:         Development/Libraries
+Group:         Libraries
 Source0:       
http://rubyforge.org/frs/download.php/4492/%{name}-%{version}.tar.gz
 # Source0-md5: a57b7c46d81170b9318e2f384f77910c
 Patch0:                %{name}-shared.patch
@@ -13,8 +13,8 @@
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
-BuildRequires: python-devel >= 1:2.3
-%pyrequires_eq python-modules
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -95,16 +95,12 @@
 
 cd ext/python
 python -- setup.py install \
-        --root=$RPM_BUILD_ROOT \
-       --install-purelib=%{py_sitedir} \
-       --install-platlib=%{py_sitescriptdir} \
-       --install-scripts=%{py_sitescriptdir} \
-        --optimize=2
-
-install -d $RPM_BUILD_ROOT%{py_sitedir}
-install $RPM_BUILD_ROOT%{py_sitescriptdir}/syck.so $RPM_BUILD_ROOT%{py_sitedir}
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py | xargs rm -f
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
+mv $RPM_BUILD_ROOT%{py_sitedir}/{*.py[co],*.egg-info} 
$RPM_BUILD_ROOT%{py_sitescriptdir}
+find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py | xargs rm -f
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -114,24 +110,28 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README README.BYTECODE RELEASE CHANGELOG tests
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%doc CHANGELOG COPYING README README.BYTECODE RELEASE tests
+%attr(755,root,root) %{_libdir}/libsyck.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsyck.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/*
+%attr(755,root,root) %{_libdir}/libsyck.so
+%{_libdir}/libsyck.la
+%{_includedir}/syck*.h
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/libsyck.a
 
 %files -n python-syck
 %defattr(644,root,root,755)
 %doc ext/python/tests
-%{py_sitescriptdir}/*
-%{py_sitedir}/*
+%{py_sitescriptdir}/yaml2xml.py[co]
+%{py_sitescriptdir}/ydump.py[co]
+%{py_sitescriptdir}/ypath.py[co]
+%{py_sitescriptdir}/Syck-*.egg-info
+%{py_sitedir}/syck.so
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -139,6 +139,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2007-11-26 18:08:20  qboosh
+- more verbose files
+- include COPYING in files (BSD license and D&R joke)
+- avoid passing invalid --install-platlib
+
 Revision 1.11  2007-11-26 17:44:50  qboosh
 - fixed encoding
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/syck.spec?r1=1.11&r2=1.12&f=u

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

Reply via email to