From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Tue, 8 Jul 2008 08:25:12 +0000 (+0100) Subject: Install rpc/*.h header files by hand. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=0c153994f9b5c0de171c80d109299acd1bd41fd3;p=fedora-mingw.git Install rpc/*.h header files by hand. --- diff --git a/portablexdr/mingw-portablexdr.spec b/portablexdr/mingw-portablexdr.spec index 36c95b4..28931c3 100644 --- a/portablexdr/mingw-portablexdr.spec +++ b/portablexdr/mingw-portablexdr.spec @@ -2,7 +2,7 @@ Name: mingw-portablexdr Version: 4.0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows PortableXDR XDR / RPC library License: LGPLv2+ @@ -39,6 +39,11 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +# Header files aren't installed by default, install them by hand. +mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/include/rpc +install -m 0644 rpc/*.h \ + $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/include/rpc + %clean rm -rf $RPM_BUILD_ROOT @@ -47,8 +52,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/* +%{_prefix}/i686-pc-mingw32/sys-root/mingw/include/rpc %changelog -* Mon Jul 7 2008 Richard W.M. Jones - 2.6.32-1 +* Mon Jul 7 2008 Richard W.M. Jones - 4.0.9-2 - Initial RPM release, largely based on earlier work from several sources.