]> git.pld-linux.org Git - packages/ocaml.git/commitdiff
- this is strange, exclude cries about absent files
authorMichal Moskal <michal@moskal.me>
Sun, 10 Nov 2002 14:26:22 +0000 (14:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ocaml.spec -> 1.54

ocaml.spec

index 94f5cea39943b012a5601c5690d94b149c5eb1d3..9131da799e6a33b138358cb9afbf49c368bab9c9 100644 (file)
@@ -358,15 +358,15 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/%{name}/stublibs
 %attr(755,root,root) %{_libdir}/%{name}/stublibs/dll*.so
 %exclude %{_libdir}/%{name}/stublibs/dllgraphics.so
-%exclude %{_libdir}/%{name}/stublibs/dlllabltk.so
-%exclude %{_libdir}/%{name}/stublibs/dlltkanim.so
+%{!?_without_tk:%exclude %{_libdir}/%{name}/stublibs/dlllabltk.so}
+%{!?_without_tk:%exclude %{_libdir}/%{name}/stublibs/dlltkanim.so}
 
 %files
 %defattr(644,root,root,755)
 %doc LICENSE Changes README Upgrading
 %doc docs/html/ocaml
 %attr(755,root,root) %{_bindir}/ocaml*
-%exclude %{_bindir}/ocamlbrowser
+%{!?_without_tk:%exclude %{_bindir}/ocamlbrowser}
 %exclude %{_bindir}/ocamlrun
 %attr(755,root,root) %{_bindir}/*labels
 %{_includedir}/caml
This page took 0.026027 seconds and 4 git commands to generate.