BR: gcc
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
b9434cd0ba
commit
dc7dd9ed12
12
byacc.spec
12
byacc.spec
@ -9,6 +9,8 @@ Group: Development/Tools
|
||||
URL: http://invisible-island.net/byacc/byacc.html
|
||||
Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz
|
||||
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
This package provides a parser generator utility that reads a grammar
|
||||
specification from a file and generates an LR(1) parser for it. The
|
||||
@ -29,13 +31,12 @@ find . -type f -name \*.c -print0 |
|
||||
|
||||
%build
|
||||
%configure --disable-dependency-tracking
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
ln -s yacc $RPM_BUILD_ROOT/%{_bindir}/byacc
|
||||
ln -s yacc.1 $RPM_BUILD_ROOT/%{_mandir}/man1/byacc.1
|
||||
%make_install
|
||||
ln -s yacc %{buildroot}%{_bindir}/byacc
|
||||
ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
|
||||
|
||||
%check
|
||||
echo ====================TESTING=========================
|
||||
@ -44,7 +45,6 @@ echo ====================TESTING END=====================
|
||||
|
||||
%files
|
||||
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/yacc
|
||||
%{_bindir}/byacc
|
||||
%{_mandir}/man1/yacc.1*
|
||||
|
Loading…
Reference in New Issue
Block a user