SPECS: python-pycvs.spec - noarch, cosmetics; rel 4
glen
glen at pld-linux.org
Mon May 26 18:04:53 CEST 2008
Author: glen Date: Mon May 26 16:04:53 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- noarch, cosmetics; rel 4
---- Files affected:
SPECS:
python-pycvs.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/python-pycvs.spec
diff -u SPECS/python-pycvs.spec:1.10 SPECS/python-pycvs.spec:1.11
--- SPECS/python-pycvs.spec:1.10 Tue Feb 13 09:06:43 2007
+++ SPECS/python-pycvs.spec Mon May 26 18:04:48 2008
@@ -1,12 +1,10 @@
# $Revision$, $Date$
-
%define module pycvs
-
Summary: CVS support for Python
Summary(pl.UTF-8): Obsługa CVSu dla Pythona
Name: python-%{module}
Version: 0.1
-Release: 3
+Release: 4
License: GNU
Group: Development/Languages/Python
Source0: http://dl.sourceforge.net/pycvs/%{module}-%{version}.tar.gz
@@ -14,6 +12,7 @@
URL: http://pycvs.sourceforge.net/
%pyrequires_eq python-modules
BuildRequires: python-devel >= 1:2.3
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -30,14 +29,13 @@
%setup -q -n %{module}-%{version}
%build
-python -c "import compiler;compiler.compileFile('library/pycvs.py')"
+%{__python} -c "import compiler;compiler.compileFile('library/pycvs.py')"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{py_sitedir}
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version}}
install clients/client.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install library/pycvs.pyc $RPM_BUILD_ROOT%{py_sitedir}
+install library/pycvs.pyc $RPM_BUILD_ROOT%{py_sitescriptdir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,9 +43,8 @@
%files
%defattr(644,root,root,755)
%doc AUTHORS README
-%{py_sitedir}/*.py[co]
-%dir %{_examplesdir}/%{name}-%{version}
-%{_examplesdir}/%{name}-%{version}/*
+%{py_sitescriptdir}/*.py[co]
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -55,6 +52,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2008-05-26 16:04:48 glen
+- noarch, cosmetics; rel 4
+
Revision 1.10 2007-02-13 08:06:43 glen
- tabs in preamble
@@ -78,11 +78,10 @@
- release 2
Revision 1.3 2004/07/28 08:03:17 troll
-- removed %%include /usr/lib/rpm/macros.python
+- removed %include /usr/lib/rpm/macros.python
Revision 1.2 2004/05/26 21:15:22 ankry
- capitalization, tabs, other cosmetics
Revision 1.1 2003/12/07 13:37:55 leafnode
- created, adapterized
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pycvs.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list