Hi Frederic,

I've found the following file is not BM compliant in this package.

/usr/man/man1/dialog.1.bz2

Could you perhaps apply the following patch to get it compliant? 

Thanks!!

Stefan
--- cdialog-0.9a.spec.orig      Sat Aug  5 12:16:59 2000
+++ cdialog-0.9a.spec   Sat Aug  5 12:26:38 2000
@@ -1,13 +1,13 @@
 Summary: A utility for creating TTY dialog boxes.
 Name: cdialog
 Version: 0.9a
-Release: 3mdk
+Release: 4mdk
 Copyright: GPL
 Group: Development/Other
 Source: ftp://metalab.unc.edu/pub/Linux/system/console/cdialog-0.9a.tar.bz2
 Obsoletes: dialog
 Provides: dialog
-BuildRoot: /var/tmp/dialog-root
+BuildRoot: %{_tmppath}/%{name}-buildroot
 
 %description
 Dialog is a utility that allows you to show dialog boxes (containing
@@ -23,23 +23,15 @@
 make depend
 
 %build
-make OPTIM="$RPM_OPT_FLAGS"
+%make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1}
-
-make PREFIX=$RPM_BUILD_ROOT/usr BINDIR=$RPM_BUILD_ROOT/usr/bin 
MANDIR=$RPM_BUILD_ROOT/usr/man/man1 install
-
-strip $RPM_BUILD_ROOT/usr/bin/dialog
-
-
-find $RPM_BUILD_ROOT/ -type 'f'|grep -E '.*[0-9]($|x)' | xargs file \
-       | grep troff | cut -d: -f1 | xargs bzip2 -9
-
-for i in `find $RPM_BUILD_ROOT/ -type 'f' -perm '+a=x' ! -name 'lib*so*'`; do
-       file $i |grep -q "not stripped" && strip $i
-done
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+%makeinstall \
+       BINDIR=$RPM_BUILD_ROOT%{_bindir} \
+       MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,10 +39,15 @@
 %files
 %defattr(-,root,root)
 %doc COPYING README samples
-/usr/bin/dialog
-/usr/man/man1/dialog.1.bz2
+%{_bindir}/dialog
+%{_mandir}/man1/dialog.1.bz2
 
 %changelog
+* Sat Aug 05 2000 Stefan van der Eijk <[EMAIL PROTECTED]> 0.9a-4mdk
+- macroszifications
+- BM
+- spec file cleanup
+
 * Sat Mar 25 2000 Daouda Lo <[EMAIL PROTECTED]> 0.9a-3mdk
 - fix group 
 

Reply via email to