diff options
author | Josh Boyer <jwboyer@redhat.com> | 2011-08-17 22:14:23 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2011-08-17 22:15:25 -0400 |
commit | 93e7772b8b96008038a19a002cc48d31c6f6c7b7 (patch) | |
tree | 4ccbc1a06480c12ed029119bfce1a38098e9ab58 | |
parent | 8addb5fc3a45b5b27738ae01af120a309e5a2036 (diff) | |
download | kernel-93e7772b8b96008038a19a002cc48d31c6f6c7b7.tar.gz kernel-93e7772b8b96008038a19a002cc48d31c6f6c7b7.tar.xz kernel-93e7772b8b96008038a19a002cc48d31c6f6c7b7.zip |
Make sure %post/%postun for kernel-tools is wrapped with %{with_tools}
otherwise noarch fails (also make prep)
-rw-r--r-- | kernel.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec index 17259721b..e59827969 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1830,11 +1830,13 @@ rm -rf $RPM_BUILD_ROOT ### scripts ### +%if %{with_tools} %post -n kernel-tools /sbin/ldconfig %postun -n kernel-tools /sbin/ldconfig +%endif # # This macro defines a %%post script for a kernel*-devel package. |