Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/byaccj.git#31ab35f5ae89528adc990ff44eff85a85a9a214d
This commit is contained in:
DistroBaker 2020-11-25 14:15:46 +00:00
parent c426374ea8
commit 748162152f

View File

@ -2,7 +2,7 @@ Summary: Parser Generator with Java Extension
Name: byaccj
Epoch: 0
Version: 1.15
Release: 22%{?dist}
Release: 23%{?dist}
License: Public Domain
URL: http://byaccj.sourceforge.net/
@ -26,11 +26,12 @@ Java now!
%prep
%setup -q -n %{name}%{version}
chmod -c -x src/* docs/*
sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4||g' src/Makefile
sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4|$(LDFLAGS)|g' src/Makefile
%build
pushd src
make yacc CFLAGS="%{optflags}" LDFLAGS=""
make yacc CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS"
popd
%install
@ -42,6 +43,9 @@ install -p -m 755 src/yacc %{buildroot}%{_bindir}/%{name}
%{_bindir}/%{name}
%changelog
* Wed Nov 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.15-23
- Respect system-wide linker flags during build
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.15-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild