Cleanup spec file
This commit is contained in:
parent
9294017ab3
commit
df586fc1ba
51
byaccj.spec
51
byaccj.spec
@ -1,42 +1,16 @@
|
||||
# Copyright (c) 2000-2005, JPackage Project
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name of the JPackage Project nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
Summary: Parser Generator with Java Extension
|
||||
Name: byaccj
|
||||
Version: 1.15
|
||||
Release: 15%{?dist}
|
||||
Epoch: 0
|
||||
Version: 1.15
|
||||
Release: 16%{?dist}
|
||||
License: Public Domain
|
||||
URL: http://byaccj.sourceforge.net/
|
||||
|
||||
Source0: http://sourceforge.net/projects/byaccj/files/byaccj/1.15/byaccj1.15_src.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
BYACC/J is an extension of the Berkeley v 1.8 YACC-compatible
|
||||
parser generator. Standard YACC takes a YACC source file, and
|
||||
@ -56,20 +30,21 @@ sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-versi
|
||||
|
||||
%build
|
||||
pushd src
|
||||
make linux CFLAGS="%{optflags}" LDFLAGS=""
|
||||
make yacc CFLAGS="%{optflags}" LDFLAGS=""
|
||||
popd
|
||||
|
||||
%install
|
||||
# jars
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -p src/yacc.linux \
|
||||
%{buildroot}%{_bindir}/%{name}
|
||||
install -d -m 755 %{buildroot}%{_bindir}
|
||||
install -p -m 755 src/yacc %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%files
|
||||
%doc docs/* src/README
|
||||
%attr(755, root, root) %{_bindir}/%{name}
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Sep 22 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.15-16
|
||||
- Cleanup spec file
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.15-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user