Install rpc/*.h header files by hand.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 8 Jul 2008 08:25:12 +0000 (09:25 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 8 Jul 2008 08:25:12 +0000 (09:25 +0100)
portablexdr/mingw-portablexdr.spec

index 36c95b4..28931c3 100644 (file)
@@ -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 <rjones@redhat.com> - 2.6.32-1
+* Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.9-2
 - Initial RPM release, largely based on earlier work from several sources.