SPECS: python-ctypes.spec - up to 0.9.6 - use %%py_postclean macro
jpc
jpc at pld-linux.org
Mon Aug 1 03:06:52 CEST 2005
Author: jpc Date: Mon Aug 1 01:06:52 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.9.6
- use %%py_postclean macro
---- Files affected:
SPECS:
python-ctypes.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/python-ctypes.spec
diff -u SPECS/python-ctypes.spec:1.8 SPECS/python-ctypes.spec:1.9
--- SPECS/python-ctypes.spec:1.8 Sat Dec 18 17:09:51 2004
+++ SPECS/python-ctypes.spec Mon Aug 1 03:06:46 2005
@@ -1,15 +1,18 @@
# $Revision$, $Date$
+#
+# TODO:
+# - move the scripts from the wrap subpackage to /usr/bin?
%define module ctypes
Summary: Python package to call functions in dynamic linked libraries
Summary(pl): Pakiet Pythona do wywoływania funkcji w bibliotekach linkowanych dynamicznie
Name: python-%{module}
-Version: 0.9.2
+Version: 0.9.6
Release: 1
License: MIT
Group: Development/Languages/Python
Source0: http://dl.sourceforge.net/%{module}/%{module}-%{version}.tar.gz
-# Source0-md5: 1acd425fcb69722aca1ab0395d66d780
+# Source0-md5: 9f6bfdb21f7016da2518020beb326da0
URL: http://starship.python.net/crew/theller/ctypes/
BuildRequires: libffi-devel
BuildRequires: python-devel
@@ -44,7 +47,7 @@
--root=$RPM_BUILD_ROOT \
--optimize=2
-rm $RPM_BUILD_ROOT%{py_sitedir}/%{module}/*.py
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
@@ -52,8 +55,7 @@
%files
%defattr(644,root,root,755)
%doc README.txt docs/
-%dir %{py_sitedir}/%{module}
-%{py_sitedir}/%{module}/*.py[co]
+%{py_sitedir}/%{module}
%attr(755,root,root) %{py_sitedir}/*.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -62,6 +64,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2005/08/01 01:06:46 jpc
+- up to 0.9.6
+- use %%py_postclean macro
+
Revision 1.8 2004/12/18 16:09:51 darekr
- updated to 0.9.2
- BRs: python-devel, python-modules
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-ctypes.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list