Author: duddits                      Date: Sun Mar 15 16:10:34 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 3.8
- macros, cleaning
- %files

---- Files affected:
SPECS:
   python-Durus.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/python-Durus.spec
diff -u SPECS/python-Durus.spec:1.15 SPECS/python-Durus.spec:1.16
--- SPECS/python-Durus.spec:1.15        Fri Oct  3 19:48:48 2008
+++ SPECS/python-Durus.spec     Sun Mar 15 17:10:28 2009
@@ -5,12 +5,12 @@
 Summary:       Durus - a persistent object system for applications written in 
the Python programming language
 Summary(pl.UTF-8):     Durus - system przechowywania obiektów aplikacji 
napisanych w języku programowania Python
 Name:          python-%{module}
-Version:       1.4
-Release:       2
+Version:       3.8
+Release:       1
 License:       CNRI
 Group:         Libraries/Python
 Source0:       
http://www.mems-exchange.org/software/files/durus/%{module}-%{version}.tar.gz
-# Source0-md5: e79aed3bfa1dea3020507082f147600b
+# Source0-md5: 75018ffc6682d09e5e0cdad065efa00a
 URL:           http://www.mems-exchange.org/software/durus/
 BuildRequires: python-devel >= 1:2.3
 BuildRequires: python-modules
@@ -56,34 +56,31 @@
 %setup -q -n %{module}-%{version}
 
 %build
-CFLAGS="%{rpmcflags}"
-export CFLAGS
-python setup.py build_ext
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build_ext
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{py_sitedir},%{_mandir}/man1}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{py_sitedir}}
 
-python setup.py install \
+%{__python} setup.py install \
        --root=$RPM_BUILD_ROOT \
        --install-lib=%{py_sitedir} \
        --optimize=2
 
-cp -a doc/durus.1 $RPM_BUILD_ROOT%{_mandir}/man1
-find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ACKS.txt CHANGES.txt LICENSE.txt README.txt 
doc/{FAQ.txt,FAQ.html,default.css}
+%doc ACKS.txt CHANGES.txt LICENSE.txt README.txt doc/FAQ.txt
 %{py_sitedir}/durus
 
 %files -n Durus-utils
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/durus
-%{_mandir}/man1/*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -91,6 +88,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2009/03/15 16:10:28  duddits
+- up to 3.8
+- macros, cleaning
+- %files
+
 Revision 1.15  2008/10/03 17:48:48  arekm
 - release 2
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-Durus.spec?r1=1.15&r2=1.16&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to