From 163aef10cd274cd25142d2f0419552e30b386cd4b1e418cebc713a1b37a2db37 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 22 Mar 2018 14:22:21 +0000 Subject: [PATCH] Don't use %license on SLE_12_SP2, it does not work. OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=55 --- patch.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/patch.spec b/patch.spec index 50ecff0..ebae658 100644 --- a/patch.spec +++ b/patch.spec @@ -55,7 +55,11 @@ make install DESTDIR=%{buildroot} %{verbose:V=1} %files %doc AUTHORS NEWS README +%if 0%{?suse_version} >= 1500 %license COPYING +%else +%doc COPYING +%endif %{_bindir}/patch %{_mandir}/man1/patch.1%{ext_man}