1 |
# $Id: smeserver-bridge-interface.spec,v 1.3 2021/01/20 15:45:26 brianr Exp $ |
# $Id: smeserver-bridge-interface.spec,v 1.6 2021/01/24 11:54:43 brianr Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
%define version 0.2 |
%define version 0.2 |
6 |
%define release 3 |
%define release 6 |
7 |
%define name smeserver-bridge-interface |
%define name smeserver-bridge-interface |
8 |
|
|
9 |
|
|
28 |
AutoReqProv: no |
AutoReqProv: no |
29 |
|
|
30 |
Patch0:smeserver-bridge-interface-0.2-Update-Createlinks-for-systemd.patch |
Patch0:smeserver-bridge-interface-0.2-Update-Createlinks-for-systemd.patch |
31 |
Patch1:smeserver-bridge-interface-0.2-Move-exec-to-usr-sbin-and-add-service-file.patch |
Patch1:smeserver-bridge-interface-0.2-Move-exec-to-sbin-e-smith-and-add-service-file.patch |
32 |
|
Patch2:smeserver-bridge-interface-0.2-Add-Restart-to-service-file.patch |
33 |
|
Patch3:smeserver-bridge-interface-0.2-Change-After-in-Service-file-to-network-service-from-target.patch |
34 |
|
|
35 |
%description |
%description |
36 |
This package allows you to replace the internal interface with a bridge |
This package allows you to replace the internal interface with a bridge |
39 |
configuration |
configuration |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
* Thu Jan 21 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-3.sme |
* Thu Jan 28 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-6.sme |
43 |
- Move exec to /usr/sbin, add service file [SME: 11324] |
- Change-After-in-Service-file-to-network-service-from-target [SME: 11324] |
44 |
|
|
45 |
|
* Sun Jan 24 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-5.sme |
46 |
|
- Add-Restart-to-service-file.patch [SME: 11324 ] |
47 |
|
|
48 |
|
* Sat Jan 23 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-4.sme |
49 |
|
- Move exec to /sbin/e-smith/systemd/bridge-run, add service file [SME: 11324] |
50 |
|
|
51 |
* Thu Jan 14 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme |
* Thu Jan 14 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme |
52 |
- Initial Import to SME10 [SME: 11324] |
- Initial Import to SME10 [SME: 11324] |
87 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
88 |
%patch0 -p1 |
%patch0 -p1 |
89 |
%patch1 -p1 |
%patch1 -p1 |
90 |
|
%patch2 -p1 |
91 |
|
%patch3 -p1 |
92 |
|
|
93 |
%build |
%build |
94 |
# Build symlinks |
# Build symlinks |
100 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
101 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
102 |
|
|
103 |
chmod +x %{buildroot}/usr/sbin/bridge-interface |
chmod +x %{buildroot}/sbin/e-smith/systemd/bridge-run |
104 |
|
|
105 |
|
|
106 |
%clean |
%clean |