rpms/latencytop/F-8 latencytop-standard-cflags.patch, NONE, 1.1 latencytop.spec, NONE, 1.1 sources, 1.1, 1.2

Michal Schmidt (michich) fedora-extras-commits at redhat.com
Mon Feb 4 20:51:38 UTC 2008


Author: michich

Update of /cvs/pkgs/rpms/latencytop/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6630

Modified Files:
	sources 
Added Files:
	latencytop-standard-cflags.patch latencytop.spec 
Log Message:
Initial import to F-8.


latencytop-standard-cflags.patch:

--- NEW FILE latencytop-standard-cflags.patch ---
diff -up latencytop-0.3/Makefile.orig latencytop-0.3/Makefile
--- latencytop-0.3/Makefile.orig	2008-02-04 14:09:28.000000000 +0100
+++ latencytop-0.3/Makefile	2008-02-04 14:10:32.000000000 +0100
@@ -1,4 +1,4 @@
-CFLAGS = -O0 -g -Wall -W `pkg-config --cflags glib-2.0`  -D_FORTIFY_SOURCE=2 -Wno-sign-compare 
+CFLAGS += -Wall -W -Wno-sign-compare `pkg-config --cflags glib-2.0`
 LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncursesw 
 
 #


--- NEW FILE latencytop.spec ---
Name:           latencytop
Version:        0.3
Release:        3%{?dist}
Summary:        System latency monitor

Group:          Applications/System
License:        GPLv2
URL:            http://www.latencytop.org/
Source0:        http://www.latencytop.org/download/%{name}-%{version}.tar.gz
Patch0:         latencytop-standard-cflags.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ncurses-devel glib2-devel

%description
LatencyTOP is a tool for software developers (both kernel and userspace), aimed
at identifying where in the system latency is happening, and what kind of
operation/action is causing the latency to happen so that the code can be
changed to avoid the worst latency hiccups. 

%prep
%setup -q
%patch -p1

%build
export CFLAGS="${CFLAGS:-%{optflags}}"
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_bindir}
install -p -m 755 latencytop %{buildroot}/%{_bindir}/latencytop


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
#%doc 
%{_bindir}/latencytop


%changelog
* Mon Feb  4 2008 Michal Schmidt <mschmidt at redhat.com> - 0.3-3
- Dropped the whitespace-changing hunk from latencytop-standard-cflags.patch.

* Fri Feb  1 2008 Michal Schmidt <mschmidt at redhat.com> - 0.3-2
- From review comments - removed whitespace in latencytop-standard-cflags.patch

* Thu Jan 31 2008 Michal Schmidt <mschmidt at redhat.com> - 0.3-1
- Initial package for Fedora.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/latencytop/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Feb 2008 19:35:05 -0000	1.1
+++ sources	4 Feb 2008 20:51:03 -0000	1.2
@@ -0,0 +1 @@
+3ed2878fb7772e2a500ec71aa01abbb2  latencytop-0.3.tar.gz




More information about the fedora-extras-commits mailing list