Cleanup.
This commit is contained in:
parent
2312efb787
commit
becac56c55
13
byacc.spec
13
byacc.spec
@ -7,7 +7,7 @@ Release: 1%{?dist}
|
||||
License: Public Domain
|
||||
Group: Development/Tools
|
||||
URL: http://dickey.his.com/byacc/byacc.html
|
||||
Source: ftp://invisible-island.net/byacc/byacc-20050813.tgz
|
||||
Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
@ -22,13 +22,15 @@ this package.
|
||||
|
||||
%build
|
||||
%configure --disable-dependency-tracking
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
ln -s yacc $RPM_BUILD_ROOT/usr/bin/byacc
|
||||
ln -s yacc $RPM_BUILD_ROOT/%{_bindir}/byacc
|
||||
ln -s yacc.1 $RPM_BUILD_ROOT/%{_mandir}/man1/byacc.1
|
||||
install -d $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
|
||||
install -m 644 ACKNOWLEDGEMENTS CHANGES README NEW_FEATURES $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
|
||||
|
||||
%check
|
||||
echo ====================TESTING=========================
|
||||
@ -39,9 +41,10 @@ echo ====================TESTING END=====================
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%doc ACKNOWLEDGEMENTS CHANGES README NEW_FEATURES
|
||||
%defattr(-,root,root)
|
||||
/usr/bin/yacc
|
||||
/usr/bin/byacc
|
||||
%{_bindir}/yacc
|
||||
%{_bindir}/byacc
|
||||
%{_mandir}/man1/yacc.1*
|
||||
%{_mandir}/man1/byacc.1*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user