summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-10-13 20:58:05 +0200
committerThomas Haller <thaller@redhat.com>2014-10-20 11:53:43 +0200
commit1f631cd08d0f01cd118e7222822518d62916f117 (patch)
tree7f3a467cc8b87c53a99f80df0da0040ec4bab659
parent44c34a7adc620ffffc81b68bc0bba22288849649 (diff)
downloadNetworkManager-1f631cd08d0f01cd118e7222822518d62916f117.tar.gz
contrib/rpm: Don't exclude files that are not built
RPM still insist that they need to exist in order to be excluded.
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec11
1 files changed, 0 insertions, 11 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index be95bfc8ca..5c5f0a229b 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -528,16 +528,12 @@ fi
%files adsl
%defattr(-,root,root,0755)
%{_libdir}/%{name}/libnm-device-plugin-adsl.so
-%else
-%exclude %{_libdir}/%{name}/libnm-device-plugin-adsl.so
%endif
%if 0%{?with_bluetooth}
%files bluetooth
%defattr(-,root,root,0755)
%{_libdir}/%{name}/libnm-device-plugin-bluetooth.so
-%else
-%exclude %{_libdir}/%{name}/libnm-device-plugin-bluetooth.so
%endif
%if 0%{?with_team}
@@ -550,8 +546,6 @@ fi
%files wifi
%defattr(-,root,root,0755)
%{_libdir}/%{name}/libnm-device-plugin-wifi.so
-%else
-%exclude %{_libdir}/%{name}/libnm-device-plugin-wifi.so
%endif
%if 0%{?with_wwan}
@@ -559,17 +553,12 @@ fi
%defattr(-,root,root,0755)
%{_libdir}/%{name}/libnm-device-plugin-wwan.so
%{_libdir}/%{name}/libnm-wwan.so
-%else
-%exclude %{_libdir}/%{name}/libnm-device-plugin-wwan.so
-%exclude %{_libdir}/%{name}/libnm-wwan.so
%endif
%if 0%{?with_wimax}
%files wimax
%defattr(-,root,root,0755)
%{_libdir}/%{name}/libnm-device-plugin-wimax.so
-%else
-%exclude %{_libdir}/%{name}/libnm-device-plugin-wimax.so
%endif
%files devel