Fix build.
This commit is contained in:
parent
f3eae07bdb
commit
866af85127
20
byaccj.spec
20
byaccj.spec
@ -31,13 +31,12 @@
|
|||||||
Summary: Parser Generator with Java Extension
|
Summary: Parser Generator with Java Extension
|
||||||
Name: byaccj
|
Name: byaccj
|
||||||
Version: 1.15
|
Version: 1.15
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: http://byaccj.sourceforge.net/
|
URL: http://byaccj.sourceforge.net/
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Source0: http://sourceforge.net/projects/byaccj/files/byaccj/1.15/byaccj1.15_src.tar.gz
|
Source0: http://sourceforge.net/projects/byaccj/files/byaccj/1.15/byaccj1.15_src.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
Requires: man-pages
|
Requires: man-pages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,18 +52,18 @@ generate Java source code, instead. So there finally is a YACC for
|
|||||||
Java now!
|
Java now!
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}%{version}_src
|
%setup -q -n %{name}%{version}
|
||||||
|
|
||||||
|
sed -i -e 's|-arch i386||g' src/Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd src
|
pushd src
|
||||||
make linux CFLAGS="%{optflags}"
|
make linux CFLAGS="%{optflags}" LDFLAGS=""
|
||||||
popd
|
popd
|
||||||
|
|
||||||
sed -i 's/\r//g' docs/tf.y
|
sed -i 's/\r//g' docs/tf.y
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
# manual
|
# manual
|
||||||
install -d -m 755 %{buildroot}%{_mandir}/man1
|
install -d -m 755 %{buildroot}%{_mandir}/man1
|
||||||
mv docs/yacc.cat %{buildroot}%{_mandir}/man1
|
mv docs/yacc.cat %{buildroot}%{_mandir}/man1
|
||||||
@ -76,20 +75,17 @@ cp -p src/yacc.linux \
|
|||||||
|
|
||||||
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
|
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
|
||||||
cp -p docs/* %{buildroot}%{_docdir}/%{name}-%{version}
|
cp -p docs/* %{buildroot}%{_docdir}/%{name}-%{version}
|
||||||
cp -p src/readme %{buildroot}%{_docdir}/%{name}-%{version}
|
|
||||||
cp -p src/README %{buildroot}%{_docdir}/%{name}-%{version}
|
cp -p src/README %{buildroot}%{_docdir}/%{name}-%{version}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%doc %{_docdir}/%{name}-%{version}
|
%doc %{_docdir}/%{name}-%{version}
|
||||||
%{_mandir}/man1/yacc.cat*
|
%{_mandir}/man1/yacc.cat*
|
||||||
%attr(755, root, root) %{_bindir}/%{name}
|
%attr(755, root, root) %{_bindir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 26 2012 Alexander Kurtakov <akurtako@redhat.com> - 0:1.15-4
|
||||||
|
- Fix build.
|
||||||
|
|
||||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-3
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user