Enable MDNS-default patch for Fedora>17

This commit is contained in:
Thomas Woerner 2012-08-28 20:56:29 +02:00
parent a7e552c674
commit ef24a35745

View File

@ -11,7 +11,9 @@ Group: System Environment/Base
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch BuildArch: noarch
Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2 Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2
%if 0%{?fedora} > 17
Patch0: firewalld-0.2.6-MDNS-default.patch Patch0: firewalld-0.2.6-MDNS-default.patch
%endif
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext
BuildRequires: intltool BuildRequires: intltool
@ -62,7 +64,9 @@ firewalld.
%prep %prep
%setup -q %setup -q
%if 0%{?fedora} > 17
%patch0 -p1 %patch0 -p1
%endif
%build %build
./autogen.sh ./autogen.sh