From 075f8d6e149ecbcc86fa77157b1142c1a9a579d8 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Tue, 16 May 2006 19:13:18 +0100 Subject: [PATCH] force prefix to /usr since SUSE's distutils seems to default to /usr/local --- offlineimap.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/offlineimap.spec b/offlineimap.spec index c4d9f4d..2d7c21a 100644 --- a/offlineimap.spec +++ b/offlineimap.spec @@ -1,7 +1,7 @@ Name: offlineimap Summary: Powerful IMAP/Maildir synchronization and reader support Version: 4.0.13 -Release: 2 +Release: 3 License: GPL Group: Applications/Internet URL: http://quux.org:70/devel/offlineimap @@ -27,7 +27,7 @@ python setup.py build %install rm -rf $RPM_BUILD_ROOT -python setup.py install --root=$RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix} %clean rm -rf $RPM_BUILD_ROOT @@ -35,10 +35,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc docs manual.* README COPY* ChangeLog* UPGRADING -/usr/bin/* -/usr/lib/python* +%{_prefix}/bin/* +%{_prefix}/lib/python* %changelog +* Tue May 16 2006 Adam Spiers 4.0.13-3 +- Force prefix to /usr + * Mon May 15 2006 Adam Spiers 4.0.13-2 - Finally get savemessage_searchforheader right?