rpms/dstat/devel dstat.spec,1.4,1.5

Radek Brich (rbrich) fedora-extras-commits at redhat.com
Tue Sep 4 15:25:00 UTC 2007


Author: rbrich

Update of /cvs/extras/rpms/dstat/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22234

Modified Files:
	dstat.spec 
Log Message:
license tag


Index: dstat.spec
===================================================================
RCS file: /cvs/extras/rpms/dstat/devel/dstat.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- dstat.spec	1 May 2007 18:07:18 -0000	1.4
+++ dstat.spec	4 Sep 2007 15:24:28 -0000	1.5
@@ -4,8 +4,8 @@
 Summary: Versatile resource statistics tool
 Name: dstat
 Version: 0.6.6
-Release: 1%{?dist}
-License: GPL
+Release: 2%{?dist}
+License: GPLv2
 Group: System Environment/Base
 URL: http://dag.wieers.com/home-made/dstat/
 
@@ -13,7 +13,8 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
 
 BuildArch: noarch
-#Requires: python # Picked up automatically
+BuildRequires: python
+Requires: python
 
 %description
 Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat.
@@ -31,28 +32,22 @@
 confusion, less mistakes.
 
 %prep
-
 %setup -q
 
 %build
-
-# Plugins .py files are modules, not executable python
-%{__chmod} a-x plugins/*.py
-%{__chmod} a-x examples/*
 # Make sure the docs are in unix format
 %{__sed} -i 's/\r//' docs/*.html
 # Remove the broken symlink
 %{__rm} -rf examples/dstat.py
+%{__chmod} a-x examples/*
 
 %install
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR=%{buildroot}
-# Install the docs
+# Install the man page
 cd docs
 %{__make} install DESTDIR=%{buildroot}
-
-/usr/lib/rpm/brp-python-bytecompile # FC4 and FC5 run this automatically
-
+# Plugins .py files are modules, not executable python
 %{__chmod} a-x %{buildroot}/%{_datadir}/dstat/*.py
 %{__chmod} a+x %{buildroot}/%{_datadir}/dstat/dstat.py
 
@@ -73,6 +68,10 @@
 %{_datadir}/dstat/*.pyc
 
 %changelog
+* Tue Sep 04 2007 Radek Brich <rbrich at redhat.com> - 0.6.6-2
+- Updated license tag.
+- Spec clean up.
+
 * Tue May 01 2007 Scott Baker <scott at perturb.org> - 0.6.6-1
 - Bumped to latest release
 




More information about the fedora-extras-commits mailing list