SHA256
3
0
forked from pool/flex

- Do not ship static library

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/flex?expand=0&rev=27
This commit is contained in:
Martin Pluskal 2017-06-29 10:50:46 +00:00 committed by Git OBS Bridge
parent 37b3cd7c6a
commit 9ae51ed1ee
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 29 10:50:25 UTC 2017 - mpluskal@suse.com
- Do not ship static library
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 25 19:34:29 UTC 2017 - astieger@suse.com Sun Jun 25 19:34:29 UTC 2017 - astieger@suse.com

View File

@ -74,12 +74,11 @@ make %{?_smp_mflags} check
%install %install
%make_install %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 0755 %{SOURCE1} %{buildroot}/%{_bindir}/lex
install -D -p -m 0644 %{SOURCE2} %{buildroot}/%{_docdir}/flex/README.SUSE install -D -p -m 0644 %{SOURCE2} %{buildroot}/%{_docdir}/flex/README.SUSE
ln -s flex.1%{ext_man} %{buildroot}/%{_mandir}/man1/lex.1%{ext_man} ln -s flex.1%{ext_man} %{buildroot}/%{_mandir}/man1/lex.1%{ext_man}
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name} %find_lang %{name}
%post %post
@ -106,7 +105,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS ONEWS README.md THANKS %doc AUTHORS ChangeLog COPYING NEWS ONEWS README.md THANKS
%{_includedir}/FlexLexer.h %{_includedir}/FlexLexer.h
%{_libdir}/libfl.a
%{_libdir}/libfl.so %{_libdir}/libfl.so
%files -n libfl%{somajor} %files -n libfl%{somajor}