Fix to properly install into %{_bindir} / %{_includedir}

epel9
Owen W. Taylor 7 years ago
parent 80d3d7fd9b
commit 1f27fa7291

@ -1,6 +1,6 @@
Name: libnatpmp
Version: 20150609
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Library of The NAT Port Mapping Protocol (NAT-PMP)
License: LGPLv2+
URL: http://miniupnp.free.fr/libnatpmp.html
@ -28,7 +28,11 @@ developing applications that use %{name}.
%make_build CFLAGS="-fPIC -Wall -DENABLE_STRNATPMPERR %{optflags}" EXTRA_LD="%{?__global_ldflags}"
%install
make install INSTALL="install -p" PREFIX=%{buildroot} INSTALLDIRLIB="%{buildroot}%{_libdir}"
make install INSTALL="install -p" PREFIX=%{buildroot} \
INSTALLDIRLIB="%{buildroot}%{_libdir}" \
INSTALLDIRINC="%{buildroot}%{_includedir}" \
INSTALLDIRBIN="%{buildroot}%{_bindir}"
find %{buildroot} -name '*.a' -delete -print
find %{buildroot} -name '*.so' -exec chmod 755 {} ";" -print
@ -51,6 +55,9 @@ make testgetgateway
%{_includedir}/natpmp.h
%changelog
* Thu Aug 9 2018 Owen Taylor <otaylor@redhat.com> - 20150609-8
- Fix to properly install into %{_bindir} / %{_includedir}
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20150609-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save