Don't install bogus manpage

This commit is contained in:
Mikolaj Izdebski 2015-06-23 10:48:27 +02:00
parent 66850b5cfb
commit 9d37087507

View File

@ -31,13 +31,11 @@
Summary: Parser Generator with Java Extension
Name: byaccj
Version: 1.15
Release: 10%{?dist}
Release: 11%{?dist}
Epoch: 0
License: Public Domain
URL: http://byaccj.sourceforge.net/
Group: Development/Libraries
Source0: http://sourceforge.net/projects/byaccj/files/byaccj/1.15/byaccj1.15_src.tar.gz
Requires: man-pages
%description
BYACC/J is an extension of the Berkeley v 1.8 YACC-compatible
@ -61,13 +59,7 @@ pushd src
make linux CFLAGS="%{optflags}" LDFLAGS=""
popd
sed -i 's/\r//g' docs/tf.y
%install
# manual
install -d -m 755 %{buildroot}%{_mandir}/man1
mv docs/yacc.cat %{buildroot}%{_mandir}/man1
# jars
mkdir -p %{buildroot}%{_bindir}
cp -p src/yacc.linux \
@ -75,10 +67,12 @@ cp -p src/yacc.linux \
%files
%doc docs/* src/README
%{_mandir}/man1/yacc.cat*
%attr(755, root, root) %{_bindir}/%{name}
%changelog
* Tue Jun 23 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.15-11
- Don't install bogus manpage
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild