SPECS: clive.spec - add setup patch
glen
glen at pld-linux.org
Thu Nov 1 18:47:58 CET 2007
Author: glen Date: Thu Nov 1 17:47:58 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add setup patch
---- Files affected:
SPECS:
clive.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/clive.spec
diff -u SPECS/clive.spec:1.5 SPECS/clive.spec:1.6
--- SPECS/clive.spec:1.5 Thu Nov 1 17:36:32 2007
+++ SPECS/clive.spec Thu Nov 1 18:47:52 2007
@@ -8,9 +8,11 @@
Group: Applications/System
Source0: http://dl.gna.org/clive/0.3/src/%{name}-%{version}.tar.gz
# Source0-md5: 2ba7b7ea3af64177fed7748e1736ce56
+Patch0: %{name}-setup.patch
URL: http://home.gna.org/clive/
BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
%pyrequires_eq python-libs
Requires: python-urlgrabber >= 2.9.9
BuildArch: noarch
@@ -32,20 +34,19 @@
%prep
%setup -q
+%patch0 -p1
+%{__gzip} -d man/*.gz
%build
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-
python setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
-gzip -d man/*.gz
-install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
@@ -65,6 +66,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2007/11/01 17:47:52 glen
+- add setup patch
+
Revision 1.5 2007/11/01 16:36:32 arekm
- up to 0.3.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/clive.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list