Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[packaging] Disable static builds in RPM SPEC
While building for Fedora, static library and .la were created. This disables static
builds and removes .la files as a part of RPM SPEC script

Signed-off-by: Rinigus <rinigus.git@gmail.com>
  • Loading branch information
rinigus committed Sep 1, 2020
1 parent 30f7d6a commit 32433e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpm/libngf.spec
Expand Up @@ -48,14 +48,15 @@ Requires: %{name} = %{version}-%{release}


%build
%autogen
%autogen --disable-static
doxygen doc/doxygen.cfg
make %{?jobs:-j%jobs}


%install
rm -rf %{buildroot}
%make_install
rm -f %{buildroot}/%{_libdir}/*.la

install -d %{buildroot}/usr/share/doc/libngf-doc/html/
install -m 644 doc/html/* %{buildroot}/usr/share/doc/libngf-doc/html/
Expand Down

0 comments on commit 32433e3

Please sign in to comment.