forked from larsks/initscripts-macvlan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
initscripts-macvlan.spec
37 lines (24 loc) · 765 Bytes
/
initscripts-macvlan.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Name: initscripts-macvlan
Version: 0.1
Release: 3
BuildArch: noarch
Summary: macvlan ifup/down scripts
License: GPLv2 and GPLv2+
URL: https://github.com/eugenepaniot/initscripts-macvlan
Source: %{name}-%{version}.tar.gz
Requires: initscripts >= 9.49.30
Requires: iproute >= 3.10
%description
initscripts-macvlan provides scripts to manage macvlan network interfaces
%prep
%setup -q
%install
%{__mkdir} -p %{buildroot}/etc/sysconfig/network-scripts
%{__install} -p -m 0755 ifup-macvlan %{buildroot}/etc/sysconfig/network-scripts/
%{__install} -p -m 0755 ifdown-macvlan %{buildroot}/etc/sysconfig/network-scripts/
%files
%defattr(-,root,root)
/etc/sysconfig/network-scripts/ifup-macvlan
/etc/sysconfig/network-scripts/ifdown-macvlan
%doc
%changelog