Hi Folks,

Although not a "serious bug", I'm presenting a tiny buildfix..
Could the maintainer in charge of this package take a look at
it, and perhaps apply it (maybe after 7.1).

The situation was that the build dir couldn't be removed in
%clean.

Stefan
4c4
< Release: 5mdk
---
> Release: 6mdk
35a36
> chmod u+w $RPM_BUILD_DIR/%{name}-%{version} -R
45a47,49
> * Sat Apr 29 2000 Stefan van der Eijk <[EMAIL PROTECTED]> 1.9-6mdk
> - change permision of build dir in order to remove it
> 
Summary: A public domain Yacc parser generator.
Name: byacc
Version: 1.9
Release: 6mdk
Copyright: public domain
Group: Development/Other
Source: ftp://ftp.cs.berkeley.edu/ucb/4bsd/byacc.1.9.tar.bz2
Patch0: byacc-1.9-fixmanpage.patch.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
Byacc (Berkeley Yacc) is a public domain LALR parser generator which
is used by many programs during their build process.  

If you are going to do development on your system, you will want to install
this package.

%prep
%setup -q -c
%patch -p1 -b .fixmanpage

%build
make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1}

install -m 755 -s yacc $RPM_BUILD_ROOT/usr/bin/yacc
install -m 644 yacc.1 $RPM_BUILD_ROOT/usr/man/man1/yacc.1
bzip2 -9f $RPM_BUILD_ROOT/usr/man/man1/yacc.1
ln -sf yacc $RPM_BUILD_ROOT/usr/bin/byacc
ln -sf yacc.1.bz2 $RPM_BUILD_ROOT/usr/man/man1/byacc.1.bz2

%clean
chmod u+w $RPM_BUILD_DIR/%{name}-%{version} -R
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/yacc
/usr/bin/byacc
/usr/man/man1/yacc.1.bz2
/usr/man/man1/byacc.1.bz2

%changelog
* Sat Apr 29 2000 Stefan van der Eijk <[EMAIL PROTECTED]> 1.9-6mdk
- change permision of build dir in order to remove it

* Mon Apr 17 2000 Jeff Garzik <[EMAIL PROTECTED]> 1.9-5mdk
- removed version from spec filename

* Wed Apr  5 2000 Jeff Garzik <[EMAIL PROTECTED]> 1.9-4mdk
- updated BuildRoot
- group now Development/Other

* Tue Nov  9 1999 Chmouel Boudjnah <[EMAIL PROTECTED]>
- Build release.

* Tue May 11 1999 Bernhard Rosenkr�nzer <[EMAIL PROTECTED]>
- Mandrake adaptions

* Wed Apr 07 1999 Preston Brown <[EMAIL PROTECTED]>
- man page fixed.

* Sun Mar 21 1999 Cristian Gafton <[EMAIL PROTECTED]> 
- auto rebuild in the new build environment (release 10)

* Thu Dec 17 1998 Cristian Gafton <[EMAIL PROTECTED]>
- build for glibc 2.1

* Tue Aug 11 1998 Jeff Johnson <[EMAIL PROTECTED]>
- build root

* Tue May 05 1998 Prospector System <[EMAIL PROTECTED]>
- translations modified for de, fr, tr

* Thu Oct 23 1997 Donnie Barnes <[EMAIL PROTECTED]>
- various spec file cleanups

* Mon Jun 02 1997 Erik Troan <[EMAIL PROTECTED]>
- built against glibc

Reply via email to