SPECS: oprofile.spec - release 8 for rebuild with new binutils. - pack and ...
pluto
pluto at pld-linux.org
Tue May 13 12:52:48 CEST 2008
Author: pluto Date: Tue May 13 10:52:48 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- release 8 for rebuild with new binutils.
- pack and clean /var/lib/oprofile.
---- Files affected:
SPECS:
oprofile.spec (1.27 -> 1.28)
---- Diffs:
================================================================
Index: SPECS/oprofile.spec
diff -u SPECS/oprofile.spec:1.27 SPECS/oprofile.spec:1.28
--- SPECS/oprofile.spec:1.27 Sun Apr 6 10:27:00 2008
+++ SPECS/oprofile.spec Tue May 13 12:52:43 2008
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Ogólnosystemowy profiler
Name: oprofile
Version: 0.9.3
-Release: 7
+Release: 8
License: GPL v2
Group: Applications/System
Source0: http://dl.sourceforge.net/oprofile/%{name}-%{version}.tar.gz
@@ -67,6 +67,7 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_var}/lib/oprofile
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -74,6 +75,10 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%preun
+%{_bindir}/opcontrol --shutdown 2>/dev/null 1>&2
+rm -rf %{_var}/lib/oprofile/*
+
%files
%defattr(644,root,root,755)
%doc ChangeLog README TODO doc/*.html
@@ -81,6 +86,7 @@
%exclude %{_bindir}/oprof_start
%{_datadir}/%{name}
%{_mandir}/man1/*.1*
+%dir %{_var}/lib/oprofile
%files gui
%defattr(644,root,root,755)
@@ -92,6 +98,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.28 2008-05-13 10:52:43 pluto
+- release 8 for rebuild with new binutils.
+- pack and clean /var/lib/oprofile.
+
Revision 1.27 2008-04-06 08:27:00 arekm
- release 7
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/oprofile.spec?r1=1.27&r2=1.28&f=u
More information about the pld-cvs-commit
mailing list