Accepting request 889932 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/889932 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flex?expand=0&rev=36
This commit is contained in:
commit
7f183e4020
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 1 19:02:40 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- stop installing COPYING into docdir (already in licensedir)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 10:12:39 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -70,13 +70,14 @@ This package contains libraries for using flex.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
cp -a %{SOURCE2} .
|
||||
autoreconf -fi
|
||||
%configure \
|
||||
--docdir=%{_docdir}/%{name}
|
||||
%if 0%{?do_profiling}
|
||||
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||
# do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408)
|
||||
make CFLAGS="%{optflags} %{cflags_profile_generate}" check
|
||||
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}" check
|
||||
%make_build clean
|
||||
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
|
||||
%else
|
||||
@ -90,7 +91,6 @@ autoreconf -fi
|
||||
%make_install
|
||||
find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print
|
||||
install -D -p -m 0755 %{SOURCE1} %{buildroot}/%{_bindir}/lex
|
||||
install -D -p -m 0644 %{SOURCE2} %{buildroot}/%{_docdir}/flex/README.SUSE
|
||||
ln -s flex.1%{ext_man} %{buildroot}/%{_mandir}/man1/lex.1%{ext_man}
|
||||
|
||||
%find_lang %{name}
|
||||
@ -106,14 +106,14 @@ ln -s flex.1%{ext_man} %{buildroot}/%{_mandir}/man1/lex.1%{ext_man}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS ONEWS README.md THANKS
|
||||
%doc AUTHORS ChangeLog NEWS ONEWS README.md THANKS README.SUSE
|
||||
%exclude %_docdir/%{name}/COPYING
|
||||
%{_bindir}/flex
|
||||
%{_bindir}/flex++
|
||||
%{_bindir}/lex
|
||||
%{_mandir}/man1/flex.1%{?ext_man}
|
||||
%{_mandir}/man1/lex.1%{?ext_man}
|
||||
%{_infodir}/flex*
|
||||
%{_docdir}/%{name}
|
||||
|
||||
%files -n libfl-devel
|
||||
%license COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user