]> code.delx.au - offlineimap/commitdiff
force prefix to /usr since SUSE's distutils seems to default to /usr/local
authorAdam Spiers <darcs@adamspiers.org>
Tue, 16 May 2006 18:13:18 +0000 (19:13 +0100)
committerAdam Spiers <darcs@adamspiers.org>
Tue, 16 May 2006 18:13:18 +0000 (19:13 +0100)
offlineimap.spec

index c4d9f4d4fe74bfc7fbd261aa295b9b2506872e9e..2d7c21a8616187767517919ea8fdf6163504212e 100644 (file)
@@ -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 <adam@spiers.net> 4.0.13-3
+- Force prefix to /usr
+
 * Mon May 15 2006 Adam Spiers <adam@spiers.net> 4.0.13-2
 - Finally get savemessage_searchforheader right?