rpms/python-ruledispatch/devel python-ruledispatch.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Tue Jul 11 22:28:50 UTC 2006


Author: lmacken

Update of /cvs/extras/rpms/python-ruledispatch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23574/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-ruledispatch.spec 
Log Message:
auto-import python-ruledispatch-0.5a0-0.1.svnr2115 on branch devel from python-ruledispatch-0.5a0-0.1.svnr2115.src.rpm


--- NEW FILE python-ruledispatch.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
%define svnrev r2115

Name:           python-ruledispatch
Version:        0.5a0
Release:        0.1.svn%{svnrev}%{?dist}
Summary:        A generic function package for Python

Group:          Development/Languages
License:        PSF or ZPL
URL:            http://www.turbogears.org/preview/download
Source0:        http://www.turbogears.org/preview/download/eggs/RuleDispatch-%{version}.dev-%{svnrev}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel python-setuptools >= 0.6a9
Requires:       python-protocols >= 1.0

%description
Rule-based Dispatching and Generic Functions.

%prep
%setup -q -n RuleDispatch-%{version}.dev-%{svnrev}
mv src/dispatch/*.txt .
chmod a-x *.txt

%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
 
%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc assembler.txt combiners.txt TODO.txt 
%{python_sitearch}/RuleDispatch-%{version}.dev_%{svnrev}-py%{pyver}.egg-info
%{python_sitearch}/dispatch/_speedups.so
%{python_sitearch}/dispatch/*.py
%{python_sitearch}/dispatch/*.pyc
%{python_sitearch}/dispatch/tests/*.py
%{python_sitearch}/dispatch/tests/*.pyc
%ghost %{python_sitearch}/dispatch/*.pyo
%ghost %{python_sitearch}/dispatch/tests/*.pyo

%changelog
* Thu Jul  6 2006 Luke Macken <lmacken at redhat.com> 0.5a0-0.1.svnr2115
- Use sitearch instead of sitelib in the files
- Remove python-abi requirement
- Ghost the .pyo files
- Add the URL

* Wed Apr 19 2006 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.5a0-0.svnr2115
- Intial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-ruledispatch/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Jul 2006 22:28:19 -0000	1.1
+++ .cvsignore	11 Jul 2006 22:28:50 -0000	1.2
@@ -0,0 +1 @@
+RuleDispatch-0.5a0.dev-r2115.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-ruledispatch/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Jul 2006 22:28:19 -0000	1.1
+++ sources	11 Jul 2006 22:28:50 -0000	1.2
@@ -0,0 +1 @@
+0bdec1022ad28a6819abc99e5f2e5b7c  RuleDispatch-0.5a0.dev-r2115.tar.gz




More information about the fedora-extras-commits mailing list