VirtualBox

Changeset 67758 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Jul 3, 2017 2:06:11 PM (8 years ago)
Author:
vboxsync
Message:

rpm: don't depend on deprecated net-tools for newer rpm distributions anymore, rather depend on iproute (/sbin/ip)

Location:
trunk/src/VBox/Installer/linux/rpm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r63960 r67758  
    3131Vendor:    Oracle Corporation
    3232BuildRoot: %BUILDROOT%
    33 Requires:  %INITSCRIPTS% %LIBASOUND% net-tools
     33Requires:  %INITSCRIPTS% %LIBASOUND% %NETTOOLS%
    3434
    3535%if %{?rpm_suse:1}%{!?rpm_suse:0}
  • trunk/src/VBox/Installer/linux/rpm/rules

    r64630 r67758  
    230230            -e 's|%INITSCRIPTS%|$(if $(filter fedora,$(rpmspec)),initscripts,)|g' \
    231231            -e "s|%WEBSVC%|$(if $(NOWEBSVC),false,true)|g" \
     232            -e 's|%NETTOOLS%|$(if $(filter fedora18 fedora19 fedora20 fedora21 el5 openSUSE110 openSUSE111 openSUSE112 openSUSE113 openSUSE114,$(rpmspec)),net-tools,iproute)|g" \
    232233            rpm/VirtualBox.tmpl.spec > $(archdir)/VirtualBox.spec
    233234        mv rpm/VirtualBox-$(ver) rpm/$(rpmname)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette