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#75ccc5988944f4103a9f92ebfd40ff44f79490de
This commit is contained in:
DistroBaker 2020-11-25 14:45:40 +00:00
parent 748162152f
commit 0253c21752
1 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@ Summary: Parser Generator with Java Extension
Name: byaccj
Epoch: 0
Version: 1.15
Release: 23%{?dist}
Release: 24%{?dist}
License: Public Domain
URL: http://byaccj.sourceforge.net/
@ -31,7 +31,7 @@ sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-versi
%build
pushd src
make yacc CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS"
%make_build yacc CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS"
popd
%install
@ -43,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-24
- Use make_build RPM macro to comply with packaging guidelines
* Wed Nov 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.15-23
- Respect system-wide linker flags during build