1 |
# $Id: e-smith-hosts.spec,v 1.2 2013/02/13 18:38:02 vip-ire Exp $ |
# $Id: e-smith-hosts.spec,v 1.7 2015/01/22 07:46:16 stephdl Exp $ |
2 |
|
|
3 |
Summary: e-smith module for managing hosts entries |
Summary: e-smith module for managing hosts entries |
4 |
Name: e-smith-hosts |
Name: e-smith-hosts |
5 |
%define version 2.4.0 |
%define version 2.4.0 |
6 |
%define release 3 |
%define release 7 |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
License: GPL |
License: GPL |
10 |
Group: Networking/Daemons |
Group: Networking/Daemons |
11 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
12 |
Patch0: e-smith-hosts-2.4.0-remove_interface_swap.patch |
Patch0: e-smith-hosts-2.4.0-remove_interface_swap.patch |
13 |
|
Patch1: e-smith-hosts-2.4.0.comment_hostname_validator.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
Requires: e-smith-base |
Requires: e-smith-base |
16 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
27 |
used to build the DNS and DHCP configuration. |
used to build the DNS and DHCP configuration. |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Wed Jan 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-7.sme |
31 |
|
- Add a migrate fragment to sanitize the host comment [SME: 8723] |
32 |
|
- Code done by Charlie Brady <charlieb-contribs-bugzilla@budge.apana.org.au> |
33 |
|
|
34 |
|
* Sun Jan 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-4.sme |
35 |
|
- Add a validator for the comment and the hostname field [SME: 8723] |
36 |
|
|
37 |
* Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
* Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
38 |
- Remove the "swap interface" feature [SME: 7993] |
- Remove the "swap interface" feature [SME: 7993] |
39 |
|
|
1048 |
%prep |
%prep |
1049 |
%setup |
%setup |
1050 |
%patch0 -p1 |
%patch0 -p1 |
1051 |
|
%patch1 -p1 |
1052 |
%build |
%build |
1053 |
perl createlinks |
perl createlinks |
1054 |
|
|