Some patches for clean compilation...

This commit is contained in:
Jaroslav Kysela 1999-01-18 22:43:25 +00:00
parent 288c349c33
commit 2580bda460
3 changed files with 5 additions and 5 deletions

View file

@ -57,5 +57,5 @@ cvsclean: mrproper
pack: mrproper
chown -R root.root ../alsa-utils
mv ../alsa-utils ../alsa-utils-$(SND_UTIL_VERSION)
tar cvz -C .. -f ../alsa-utils-$(SND_UTIL_VERSION).tar.gz alsa-utils-$(SND_UTIL_VERSION)
tar --exclude=CVS -cvz -C .. -f ../alsa-utils-$(SND_UTIL_VERSION).tar.gz alsa-utils-$(SND_UTIL_VERSION)
mv ../alsa-utils-$(SND_UTIL_VERSION) ../alsa-utils

View file

@ -58,7 +58,7 @@ Features
make
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT/usr/man/man1
make prefix="$RPM_BUILD_ROOT/usr" install
@ -68,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc CHANGELOG COPYING README config.status
%doc ChangeLog COPYING README config.status
%{prefix}/usr/sbin/*
%{prefix}/usr/bin/*

View file

@ -4,13 +4,13 @@ source=.
version=`cat $source/../version`
package=$source/../../alsa-utils-$version.tar.gz
make -C .. pack
if [ ! -r $package ]; then
echo "Error: wrong package: $package"
exit 1
fi
make -C .. pack
cp -fv $package /usr/src/redhat/SOURCES
if [ ! -r $source/buildrpm ]; then