force prefix to /usr since SUSE's distutils seems to default to /usr/local

This commit is contained in:
Adam Spiers 2006-05-16 19:13:18 +01:00
parent 5fc0e1ae42
commit 075f8d6e14

View File

@ -1,7 +1,7 @@
Name: offlineimap Name: offlineimap
Summary: Powerful IMAP/Maildir synchronization and reader support Summary: Powerful IMAP/Maildir synchronization and reader support
Version: 4.0.13 Version: 4.0.13
Release: 2 Release: 3
License: GPL License: GPL
Group: Applications/Internet Group: Applications/Internet
URL: http://quux.org:70/devel/offlineimap URL: http://quux.org:70/devel/offlineimap
@ -27,7 +27,7 @@ python setup.py build
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -35,10 +35,13 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc docs manual.* README COPY* ChangeLog* UPGRADING %doc docs manual.* README COPY* ChangeLog* UPGRADING
/usr/bin/* %{_prefix}/bin/*
/usr/lib/python* %{_prefix}/lib/python*
%changelog %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 * Mon May 15 2006 Adam Spiers <adam@spiers.net> 4.0.13-2
- Finally get savemessage_searchforheader right? - Finally get savemessage_searchforheader right?