]> git.pld-linux.org Git - packages/acpi_call.git/commitdiff
trying to avoid distifile error: "undefined macro _alt_kernel"
authorSzymon Siwek <sls@pld-linux.org>
Sat, 21 Sep 2013 16:05:38 +0000 (18:05 +0200)
committerSzymon Siwek <sls@pld-linux.org>
Sat, 21 Sep 2013 16:05:38 +0000 (18:05 +0200)
acpi_call.spec

index a15b26c9a311f8fa4ed5191665554df5d857f4e7..88ddb888df429f52f0aaa50dd84935f169f1215d 100644 (file)
@@ -25,7 +25,9 @@ Source0:      http://sls.warszawa.pl/%{name}-%{version}.tar.gz
 # Source0-md5: f4eb8bb4d4413a5ae65aa7d77f4112c0
 URL:           https://github.com/mkottman/acpi_call
 %if %{with kernel}
-%{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
+%if %{with dist_kernel}
+BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2
+%endif
 BuildRequires: rpmbuild(macros) >= 1.379
 %endif
 ExclusiveArch: %{ix86} %{x8664}
This page took 0.055477 seconds and 4 git commands to generate.