SHA256
1
0
forked from pool/flex

- Update project url

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/flex?expand=0&rev=39
This commit is contained in:
Martin Pluskal 2021-02-15 10:25:45 +00:00 committed by Git OBS Bridge
parent 5bc9cbfe3b
commit a85ab27019
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 15 10:12:39 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
- Update project url
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 14 14:37:36 UTC 2019 - Martin Pluskal <mpluskal@suse.com> Wed Aug 14 14:37:36 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package flex # spec file for package flex
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,7 @@ Release: 0
Summary: Fast Lexical Analyzer Generator Summary: Fast Lexical Analyzer Generator
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
URL: http://flex.sourceforge.net/ URL: https://github.com/westes/flex
Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.gz Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.gz
Source1: lex-wrapper.sh Source1: lex-wrapper.sh
Source2: README.SUSE Source2: README.SUSE
@ -74,17 +74,17 @@ autoreconf -fi
%configure \ %configure \
--docdir=%{_docdir}/%{name} --docdir=%{_docdir}/%{name}
%if 0%{?do_profiling} %if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 %make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
# do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408) # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408)
make CFLAGS="%{optflags} %{cflags_profile_generate}" check make CFLAGS="%{optflags} %{cflags_profile_generate}" check
make %{?_smp_mflags} clean %make_build clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else %else
make %{?_smp_mflags} CFLAGS="%{optflags}" %make_build CFLAGS="%{optflags}"
%endif %endif
%check %check
make %{?_smp_mflags} check %make_build check
%install %install
%make_install %make_install