*** empty log message ***

This commit is contained in:
Olivier Sirol 2002-06-28 10:36:09 +00:00
parent 950d247e48
commit 511287a0ed
2 changed files with 10 additions and 15 deletions

View File

@ -4,11 +4,11 @@
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
# License: GPL (http://www.gnu.org/copyleft/gpl.html)
# Started: April 2000
# Last Change: Wednesday 26 June 2002, 17:40
# Edit Time: 206:39:27
# Last Change: Friday 28 June 2002, 12:35
# Edit Time: 206:48:44
# Description:
#
# $Id: mkdistrib,v 1.5 2002/06/26 15:41:13 czo Exp $
# $Id: mkdistrib,v 1.6 2002/06/28 10:36:09 czo Exp $
#
###################################################################
@ -175,11 +175,11 @@ done
try mv $ALC_PACK-bip.tar.gz $ALC_PACK-i386-linux-2.4.9.tar.gz
try mv $ALC_PACK-beny.tar.gz $ALC_PACK-sparc-solaris-2.7.tar.gz
try rpm -ta $ALC_PACK-i386-linux-2.4.9.tar.gz
try cp -f "$ALC_PACK.tar.gz" $ALC_FTPDISTRIBDIR
try cp -f "$ALC_PACK-i386-linux-2.4.9.tar.gz" $ALC_FTPDISTRIBDIR
try cp -f "$ALC_PACK-sparc-solaris-2.7.tar.gz" $ALC_FTPDISTRIBDIR
try rpm -ta $ALC_PACK.tar.gz
try cp -f "/dsk/l1/tmp/czo/rpm/RPMS/$ALC_PACK.rpm" $ALC_FTPDISTRIBDIR

View File

@ -4,7 +4,7 @@
# rpm -ba /var/tmp/czo/rpm/SPECS/alliance.spec
# avec $HOME/.rpmmacros :
# %_topdir /var/tmp/czo/rpm
# $Id: myspec,v 1.1 2002/06/25 14:09:38 czo Exp $
# $Id: myspec,v 1.2 2002/06/28 10:36:09 czo Exp $
%define name alliance
%define prefix /usr/local/alliance
@ -45,16 +45,11 @@ microprocessor and 400 000 transistors IEEE Gigabit HSL Router.
# As we use libraries for tools that we build in the same run, we have to
# do the "install" step within the "build" step.
export CPPFLAGS="-I%{buildroot}%{prefix}/include"
export LIBS="-L%{buildroot}%{prefix}/lib"
export ALLIANCE_TOP=%{prefix}
ALLIANCE_TOP=%{buildroot}/%{prefix}
export ALLIANCE_TOP
mkdir %{_os}
cd %{_os}
../configure --prefix=%{prefix}
make DESTDIR=%{buildroot} install
cd ..
rm -r %{_os}
./configure --prefix=%{prefix}
make DESTDIR=%{buildroot} install
%post
ln -sf %{prefix}/etc/alc_env.sh /etc/profile.d