From 9ae51ed1ee933348fd2af7b3a8863509ba3150b442738d61ed9c8296f9006c09 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 29 Jun 2017 10:50:46 +0000 Subject: [PATCH] - Do not ship static library OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/flex?expand=0&rev=27 --- flex.changes | 5 +++++ flex.spec | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flex.changes b/flex.changes index 40f2232..a3f54ba 100644 --- a/flex.changes +++ b/flex.changes @@ -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 diff --git a/flex.spec b/flex.spec index a04ea11..5da7c3b 100644 --- a/flex.spec +++ b/flex.spec @@ -74,12 +74,11 @@ make %{?_smp_mflags} check %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 0644 %{SOURCE2} %{buildroot}/%{_docdir}/flex/README.SUSE ln -s flex.1%{ext_man} %{buildroot}/%{_mandir}/man1/lex.1%{ext_man} -find %{buildroot} -type f -name "*.la" -delete -print - %find_lang %{name} %post @@ -106,7 +105,6 @@ find %{buildroot} -type f -name "*.la" -delete -print %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS ONEWS README.md THANKS %{_includedir}/FlexLexer.h -%{_libdir}/libfl.a %{_libdir}/libfl.so %files -n libfl%{somajor}