forked from pool/antlr3c
Accepting request 358037 from home:pluskalm:branches:network:telephony
- Use optflags when building - Update usage of provides/obsoletes OBS-URL: https://build.opensuse.org/request/show/358037 OBS-URL: https://build.opensuse.org/package/show/network:telephony/antlr3c?expand=0&rev=7
This commit is contained in:
parent
de84cedfa9
commit
65d5e02a1c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 6 12:00:03 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Use optflags when building
|
||||
- Update usage of provides/obsoletes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 8 19:31:55 UTC 2015 - jengelh@inai.de
|
||||
|
||||
|
13
antlr3c.spec
13
antlr3c.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package antlr3c
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 Mariusz Fik <fisiu@opensuse.org>.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -46,8 +46,8 @@ translation, error recovery, and error reporting.
|
||||
Summary: C runtime for the ANTLR parsing library
|
||||
Group: System/Libraries
|
||||
# From 13.3/TW201501 onwards
|
||||
Obsoletes: libantlr3c3_4
|
||||
Provides: libantlr3c3_4
|
||||
Obsoletes: libantlr3c3_4 < %{version}
|
||||
Provides: libantlr3c3_4 = %{version}
|
||||
|
||||
%description -n %{soname}
|
||||
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a
|
||||
@ -77,17 +77,16 @@ develop programs using the antlr3c library.
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
--disable-static
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %{soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{soname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{soname}
|
||||
|
Loading…
x
Reference in New Issue
Block a user