diff --git a/utils/alsa-utils.spec.in b/utils/alsa-utils.spec.in index eb035e8..6b62c02 100644 --- a/utils/alsa-utils.spec.in +++ b/utils/alsa-utils.spec.in @@ -11,14 +11,21 @@ Group: System/Libraries Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{ver}.tar.bz2 BuildRoot: /tmp/alsa-utils-%{ver} URL: http://www.alsa-project.org -Docdir: %{prefix}/usr/doc +#Docdir: %{prefix}/usr/doc Requires: alsa-lib alsa-driver + %description Advanced Linux Sound Architecture (ALSA) - Utils %changelog +* Sun Nov 11 2001 Miroslav Benes + +- dangerous command "rpm -rf $RPM_BUILD_ROOT" checks $RPM_BUILD_ROOT variable +- unset key "Docdir" - on some new systems are documentation in /usr/share/doc + + * Mon May 28 1998 Helge Jensen - Made SPEC file @@ -31,12 +38,14 @@ Advanced Linux Sound Architecture (ALSA) - Utils make %install +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT + mkdir -p $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT/usr/man/man1 make prefix="$RPM_BUILD_ROOT/usr" install %clean -rm -rf $RPM_BUILD_ROOT +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root)