packages: python-pycassa/python-pycassa.spec - remove trash from template s...
glen
glen at pld-linux.org
Wed Mar 31 09:03:57 CEST 2010
Author: glen Date: Wed Mar 31 07:03:57 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- remove trash from template spec
- list files we want to package (to avoid packaging .py or .so unintentionally)
- CFLAGS makes sense only for arch packages
---- Files affected:
packages/python-pycassa:
python-pycassa.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/python-pycassa/python-pycassa.spec
diff -u packages/python-pycassa/python-pycassa.spec:1.2 packages/python-pycassa/python-pycassa.spec:1.3
--- packages/python-pycassa/python-pycassa.spec:1.2 Wed Mar 31 01:00:10 2010
+++ packages/python-pycassa/python-pycassa.spec Wed Mar 31 09:03:52 2010
@@ -12,11 +12,9 @@
URL: http://github.com/vomjom/pycassa
BuildRequires: python-devel
BuildRequires: rpm-pythonprov
-# if py_postclean is used
BuildRequires: rpmbuild(macros) >= 1.219
-#Requires: python-libs
Requires: python-modules
-Requires: thrift-python
+Requires: python-thrift
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,7 +34,6 @@
%setup -q -n %{module}-%{version}
%build
-export CFLAGS="%{rpmcflags}"
%{__python} setup.py --cassandra build
%install
@@ -54,9 +51,10 @@
%files
%defattr(644,root,root,755)
-# %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
-%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/cassandra
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
+%dir %{py_sitescriptdir}/cassandra
+%{py_sitescriptdir}/cassandra/*.py[co]
%if "%{py_ver}" > "2.4"
%{py_sitescriptdir}/%{module}-*.egg-info
%endif
@@ -67,6 +65,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2010/03/31 07:03:52 glen
+- remove trash from template spec
+- list files we want to package (to avoid packaging .py or .so unintentionally)
+- CFLAGS makes sense only for arch packages
+
Revision 1.2 2010/03/30 23:00:10 matkor
- Version 0.2.0-1.
+Revision 1.1 2010/03/30 22:38:01 matkor
+- Adding to repo.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pycassa/python-pycassa.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list