[i7z] Add more docfiles (fix RHBZ #864657)

fantom fantom at fedoraproject.org
Sun Oct 28 12:56:32 UTC 2012


commit 85f2af736e2a95937648571f471c4c39f79692bb
Author: Matthieu Saulnier <fantom at fedoraproject.org>
Date:   Sun Oct 28 13:56:16 2012 +0100

    Add more docfiles (fix RHBZ #864657)

 i7z.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/i7z.spec b/i7z.spec
index e3d0ad5..3c9c329 100644
--- a/i7z.spec
+++ b/i7z.spec
@@ -1,6 +1,6 @@
 Name:           i7z
 Version:        0.27.2
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        CLI curses based monitoring tool for Intel Core i7 processors
 Summary(fr):    Outil de surveillance en CLI pour processeurs Intel Core i7
 
@@ -31,15 +31,19 @@ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make %{?_smp_mflags}
 
 
 %install
-install -Dpm 755 %{name} %{buildroot}%{_sbindir}/%{name}
+make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-%{version}
 
 
 %files
-%doc README.txt
+%doc COPYING
 %{_sbindir}/%{name}
+%{_mandir}/man1/%{name}.1*
 
 
 %changelog
+* Sun Oct 28 2012 Matthieu Saulnier <fantom at fedoraproject.org> - 0.27.2-5
+- Add more docfiles (fix RHBZ #864657)
+
 * Fri Sep 21 2012 Matthieu Saulnier <fantom at fedoraproject.org> - 0.27.2-4
 - Add RPM_OPT_FLAGS and RPM_LD_FLAGS in %%build section (fix RHBZ #857693)
 


More information about the scm-commits mailing list