#5 Use %license for COPYING
Opened 3 years ago by robert. Modified 3 years ago
rpms/ robert/strace cleanup  into  rawhide

file modified
+5 -1
@@ -46,6 +46,9 @@ 

  %{?!make_build:   %global make_build %__make %{?_smp_mflags}}

  %{?!make_install: %global make_install %__make install DESTDIR="%{?buildroot}" INSTALL="%__install -p"}

  

+ # Fallback definition for license macro

+ %{!?_licensedir:%global license %%doc}

+ 

  %description

  The strace program intercepts and records the system calls called and

  received by a running process.  Strace can print a record of each
@@ -101,7 +104,8 @@ 

  

  %files

  %maybe_use_defattr

- %doc CREDITS ChangeLog.gz ChangeLog-CVS.gz COPYING NEWS README

+ %license COPYING

+ %doc CREDITS ChangeLog.gz ChangeLog-CVS.gz NEWS README

  %{_bindir}/strace

  %{_bindir}/strace-log-merge

  %{_mandir}/man1/*