Salut,
Maintenant que les rpms vont dans /usr, il n'y a plus besoin du define,
c'est fait par la distribution.
Pat
Index: Makefile
===================================================================
RCS file: /cvs/eagleusb/eagleusb/Makefile,v
retrieving revision 1.23
diff -u -3 -p -u -r1.23 Makefile
--- Makefile 4 Oct 2004 20:45:09 -0000 1.23
+++ Makefile 10 Oct 2004 10:55:13 -0000
@@ -104,7 +104,7 @@ rpm: dist
if [ `id -ur` == 0 ] ; then \
rm -f /usr/src/RPM/SOURCES/$(ARCHNAME).tar.bz2 ; \
cp ../eagle-usb.dist/$(ARCHNAME).tar.bz2 /usr/src/RPM/SOURCES ;
\
- rpmbuild --define='_prefix /usr' -ba eagle-usb.spec ; \
+ rpmbuild -ba eagle-usb.spec ; \
mv -f /usr/src/RPM/RPMS/i586/eagle-usb-*.rpm ../eagle-usb.dist
; \
mv -f /usr/src/RPM/SRPMS/eagle-usb-*.rpm ../eagle-usb.dist ; \
else \
@@ -122,7 +122,7 @@ rpm: dist
fi ; \
rm -f ~/rpm/SOURCES/$(ARCHNAME).tar.bz2 ; \
cp ../eagle-usb.dist/$(ARCHNAME).tar.bz2 ~/rpm/SOURCES ; \
- rpmbuild --define='_prefix /usr' -ba eagle-usb.spec ; \
+ rpmbuild -ba eagle-usb.spec ; \
mv -f ~/rpm/RPMS/i586/eagle-usb-*.rpm ../eagle-usb.dist ; \
mv -f ~/rpm/SRPMS/eagle-usb-*.rpm ../eagle-usb.dist ; \
fi