diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-06 14:15:14 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-07 10:03:01 +0900 |
commit | 13f5021ae36289397c338048ab395ff90c4b46e2 (patch) | |
tree | 251b77eb59cabd54c7869d0e6cc4260d46984a7a | |
parent | 3b4178a276f2ac76b7230c014bfd600b83710d26 (diff) | |
download | byacc-13f5021ae36289397c338048ab395ff90c4b46e2.tar.gz byacc-13f5021ae36289397c338048ab395ff90c4b46e2.tar.bz2 byacc-13f5021ae36289397c338048ab395ff90c4b46e2.zip |
Bump to byacc 2021080tizen_7.0_m2_releasesubmit/tizen/20211110.051557accepted/tizen/unified/20211111.065951accepted/tizen/7.0/unified/hotfix/20221116.110638accepted/tizen/7.0/unified/20221110.062215tizen_7.0_hotfixtizen_7.0sandbox/dh0128.kwak/byacc-20210808-20211001sandbox/backup/byacc_20210808_20230110accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: I54fe03ebdc786fe38708f16a70b3079dbbc2c77f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | package/byacc.spec.back (renamed from package/byacc.spec) | 0 | ||||
-rw-r--r-- | package/mingw-byacc.spec.back (renamed from package/mingw-byacc.spec) | 0 | ||||
-rw-r--r-- | packaging/byacc.manifest | 5 | ||||
-rw-r--r-- | packaging/byacc.spec | 40 |
4 files changed, 45 insertions, 0 deletions
diff --git a/package/byacc.spec b/package/byacc.spec.back index 525378b..525378b 100644 --- a/package/byacc.spec +++ b/package/byacc.spec.back diff --git a/package/mingw-byacc.spec b/package/mingw-byacc.spec.back index bd5616c..bd5616c 100644 --- a/package/mingw-byacc.spec +++ b/package/mingw-byacc.spec.back diff --git a/packaging/byacc.manifest b/packaging/byacc.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/byacc.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/byacc.spec b/packaging/byacc.spec new file mode 100644 index 0000000..35eb120 --- /dev/null +++ b/packaging/byacc.spec @@ -0,0 +1,40 @@ +Name: byacc +Version: 20210808 +Release: 1 +Summary: LALR(1) parser generator +Group: Development/Languages/C and C++ +License: SUSE-Public-Domain +Url: http://invisible-island.net/byacc/byacc.html +Source: %{name}-%{version}.tar.gz +Source1001: byacc.manifest + +%description +Berkeley Yacc is a LALR(1) parser generator. It has been made as compatible as +possible with AT&T Yacc and it accepts any input specification that conforms to +the AT&T Yacc documentation. In contrast to bison, it is written to avoid +dependencies upon a particular compiler. + +%prep +%setup +cp %{SOURCE1001} . + +%build +export CFLAGS+=" -fPIC" +export LDFLAGS+=" -pie" +# without --with-warnings several functions will not be marked with gcc's +# noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall +%configure --with-warnings +make %{?_smp_mflags} + +%install +%make_install +mv %{buildroot}%{_bindir}/yacc %{buildroot}%{_bindir}/byacc + +%remove_docs + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{_bindir}/byacc + +%changelog |