diff --git a/antlr3c.changes b/antlr3c.changes index 8112723..19bbdca 100644 --- a/antlr3c.changes +++ b/antlr3c.changes @@ -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 diff --git a/antlr3c.spec b/antlr3c.spec index 3424fb9..95756fc 100644 --- a/antlr3c.spec +++ b/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 . # # 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}