From 3aebc07ff2b509810f047f98477cb0fd3744d4886b84459dac5c9609e4479708 Mon Sep 17 00:00:00 2001
From: Andreas Stieger <andreas.stieger@gmx.de>
Date: Mon, 26 Feb 2018 09:37:58 +0000
Subject: [PATCH] Accepting request 580090 from home:favogt:licensetag

Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580090
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=85
---
 grep.changes | 5 +++++
 grep.spec    | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/grep.changes b/grep.changes
index 3074fb5..ff5eedb 100644
--- a/grep.changes
+++ b/grep.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Feb 22 15:10:33 UTC 2018 - fvogt@suse.com
+
+- Use %license (boo#1082318)
+
 -------------------------------------------------------------------
 Mon Jul  3 08:13:33 UTC 2017 - schwab@suse.de
 
diff --git a/grep.spec b/grep.spec
index 36c70f5..6958f3f 100644
--- a/grep.spec
+++ b/grep.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -78,7 +78,8 @@ ln -sf %{_bindir}/grep %{buildroot}/bin/grep
 
 %files
 %defattr(-,root,root)
-%doc README AUTHORS NEWS THANKS TODO COPYING ChangeLog*
+%license COPYING
+%doc README AUTHORS NEWS THANKS TODO ChangeLog*
 #UsrMerge
 /bin/egrep
 /bin/fgrep