Browse Source

updated 2 packages

byacc-1.9-28

yasm-1.3.0-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12426 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 years ago
parent
commit
e4f86328d8
2 changed files with 45 additions and 25 deletions
  1. 27 18
      b/byacc/byacc-vl.spec
  2. 18 7
      y/yasm/yasm-vl.spec

+ 27 - 18
b/byacc/byacc-vl.spec

@@ -1,17 +1,18 @@
-%define byaccdate 20070509
+%define byaccdate 20200330
 
 
 Summary:	A public domain Yacc parser generator.
 Summary:	A public domain Yacc parser generator.
 Summary(ja):	パブリックドメイン yacc 構文解析器生成プログラム
 Summary(ja):	パブリックドメイン yacc 構文解析器生成プログラム
 Name:		byacc
 Name:		byacc
 Version:	1.9
 Version:	1.9
-Release: 	27%{?_dist_release}
-License:	public domain
+Release: 	28%{?_dist_release}
 Group:		Development/Tools
 Group:		Development/Tools
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
+License:	public domain
 # The source is taken from FreeBSD's CVS as of Thu Sep 28 2000
 # The source is taken from FreeBSD's CVS as of Thu Sep 28 2000
-URL:		http://invisible-island.net/byacc/byacc.html
+URL:		https://invisible-island.net/byacc/byacc.html
 Source:		ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz
 Source:		ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz
-Patch: 		bsdyacc-linux.patch
-Patch1: 	byacc-1.9-security.patch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 
 
 %description
 %description
@@ -31,28 +32,33 @@ byacc (Berkeley Yacc) はパブリックドメインの LALR 構文解析器生
 
 
 %prep
 %prep
 %setup -q -n byacc-%{byaccdate}
 %setup -q -n byacc-%{byaccdate}
-#%patch -p1 -b .lnx
-#%patch1 -p1 -b .security
+
+# Revert default stack size back to 10000
+# https://bugzilla.redhat.com/show_bug.cgi?id=743343
+find . -type f -name \*.c -print0 |
+  xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
 
 
 
 
 %build
 %build
-#chmod u+w `find .`
-#make CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
 %configure --disable-dependency-tracking
 %configure --disable-dependency-tracking
 %{__make}
 %{__make}
 
 
+
+%check
+echo ====================TESTING=========================
+make check
+echo ====================TESTING END=====================
+
+
 %install
 %install
-rm -rf $RPM_BUILD_ROOT
-#mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-#install -c -m 755 -s yacc $RPM_BUILD_ROOT%{_bindir}/yacc
-#install -c -m 644 yacc.1 $RPM_BUILD_ROOT%{_mandir}/man1/yacc.1
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
-ln -sf yacc $RPM_BUILD_ROOT%{_bindir}/byacc
-ln -sf yacc.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/byacc.1.gz
+rm -rf %{buildroot}
+%make_install
+ln -s yacc %{buildroot}%{_bindir}/byacc
+ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
 
 
 
 
 %clean
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 
 
 %files
 %files
@@ -64,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 
 
 %changelog
 %changelog
+* Sun Jul 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9-28
+- updated tarball from CVS.
+
 * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-27
 * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-27
 - rebuild with VineSeed environment
 - rebuild with VineSeed environment
 
 

+ 18 - 7
y/yasm/yasm-vl.spec

@@ -2,11 +2,14 @@ Summary:	YASM Modular Assembler
 Summary(ja):	YASM モジュール化アセンブラ
 Summary(ja):	YASM モジュール化アセンブラ
 Name:		yasm
 Name:		yasm
 Version:	1.3.0
 Version:	1.3.0
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
+Group:		Development/Languages
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
 # See COPYING for the detail, there is quite a lot!
 # See COPYING for the detail, there is quite a lot!
 License:	BSD and (GPLv2+ or Artistic or LGPLv2+) and LGPLv2
 License:	BSD and (GPLv2+ or Artistic or LGPLv2+) and LGPLv2
-Group:		Development/Languages
-URL:		http://yasm.tortall.net/
+URL:		https://yasm.tortall.net/
 Source:		http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
 Source:		http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
 
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -15,9 +18,6 @@ BuildRequires: byacc
 BuildRequires: gettext-devel
 BuildRequires: gettext-devel
 BuildRequires: xmlto
 BuildRequires: xmlto
 
 
-Vendor: Project Vine
-Distribution: Vine Linux
-
 %description
 %description
 Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
 Yasm is a complete rewrite of the NASM assembler under the "new" BSD License
 (some portions are under other licenses, see COPYING for details). It is
 (some portions are under other licenses, see COPYING for details). It is
@@ -33,6 +33,7 @@ NASM, TASM, GAS など複数のアセンブラ構文に対応するべく設計
 複数の出力フォーマット、複数の命令セットにも対応しています。
 複数の出力フォーマット、複数の命令セットにも対応しています。
 また、新たに再設計されたことにより、最適化モジュールも備えています。
 また、新たに再設計されたことにより、最適化モジュールも備えています。
 
 
+
 %package devel
 %package devel
 Summary: Header files and static libraries for yasm
 Summary: Header files and static libraries for yasm
 Summary(ja): yasm の ヘッダーファイルと 静的ライブラリー
 Summary(ja): yasm の ヘッダーファイルと 静的ライブラリー
@@ -45,23 +46,29 @@ Header files and static libraries for yasm.
 %description  -l ja devel
 %description  -l ja devel
 Yasmのヘッダーファイルと 静的ライブラリーです。
 Yasmのヘッダーファイルと 静的ライブラリーです。
 
 
+
 %prep
 %prep
 %setup -q
 %setup -q
 
 
+
 %build
 %build
 %configure
 %configure
 make %{?_smp_mflags}
 make %{?_smp_mflags}
 
 
+
 %install
 %install
 rm -rf %{buildroot}
 rm -rf %{buildroot}
 %makeinstall 
 %makeinstall 
 
 
+
 %clean
 %clean
 rm -rf %{buildroot}
 rm -rf %{buildroot}
 
 
+
 %files
 %files
 %defattr(-, root, root, -)
 %defattr(-, root, root, -)
-%doc Artistic.txt AUTHORS BSD.txt COPYING GNU* 
+%license Artistic.txt BSD.txt COPYING GNU*
+%doc AUTHORS
 %{_bindir}/vsyasm
 %{_bindir}/vsyasm
 %{_bindir}/yasm
 %{_bindir}/yasm
 %{_bindir}/ytasm
 %{_bindir}/ytasm
@@ -75,7 +82,11 @@ rm -rf %{buildroot}
 %{_libdir}/libyasm.a
 %{_libdir}/libyasm.a
 %{_mandir}/man7/*
 %{_mandir}/man7/*
 
 
+
 %changelog
 %changelog
+* Sun Jul 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.3.0-2
+- rebuilt with current environment.
+
 * Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.3.0-1
 * Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.3.0-1
 - new upstream release
 - new upstream release