[gprof2dot] New upstream snapshot (actually same as pypi 2015.02.03)
Mamoru TASAKA
mtasaka at fedoraproject.org
Wed Mar 4 06:29:08 UTC 2015
commit ffd37be5b4303c19bd93e16b584e8c1ff43f71a8
Author: Mamoru TASAKA <mtasaka at fedorapeople.org>
Date: Wed Mar 4 15:28:51 2015 +0900
New upstream snapshot (actually same as pypi 2015.02.03)
.gitignore | 1 +
gprof2dot.spec | 33 +++++++++++++++++----------------
sources | 2 +-
3 files changed, 19 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d3a8016..4cc5585 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
gprof2dot-1.0.tar.xz
+/gprof2dot-1.0-c1354af297d263de3b327e9cbd4045176d70726f.tar.xz
diff --git a/gprof2dot.spec b/gprof2dot.spec
index cf6b61d..5aba14e 100644
--- a/gprof2dot.spec
+++ b/gprof2dot.spec
@@ -1,6 +1,10 @@
+%global gitdate 20150131
+%global githash c1354af297d263de3b327e9cbd4045176d70726f
+%global shorthash %(hash=%{githash}; echo ${hash:0:7})
+
Name: gprof2dot
Version: 1.0
-Release: 0.12.20130226git1ef99%{?dist}
+Release: 0.13.%{gitdate}git%{shorthash}%{?dist}
Summary: Generate dot graphs from the output of several profilers
Group: Applications/Multimedia
@@ -8,17 +12,17 @@ License: LGPLv3+
URL: http://code.google.com/p/jrfonseca/wiki/Gprof2Dot
# The Source0 used in this version of the package can be obtained by:
# git clone https://code.google.com/p/jrfonseca.gprof2dot/ gprof2dot-1.0
-# pushd gprof2dot
-# git checkout 1ef99e276ed0f63323b55dcbc72166c8f977b9cf
+# pushd gprof2dot-1.0
+# git reset --hard %%githash
# popd
-# tar -cf - gprof2dot-1.0 | xz -9c --memory=1GiB > gprof2dot-1.0.tar.xz
-Source0: gprof2dot-1.0.tar.xz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# tar -cf - gprof2dot-1.0 | xz -9c --memory=1GiB > gprof2dot-1.0-%%githash.tar.xz
+Source0: gprof2dot-1.0-%{githash}.tar.xz
BuildArch: noarch
-BuildRequires: python
+BuildRequires: python2
+BuildRequires: python3
BuildRequires: graphviz
-Requires: python
+Requires: python2
%description
This is a Python script to convert the output from prof, gprof, oprofile,
@@ -32,9 +36,6 @@ features:
%prep
%setup -q
-sed -i '1s@^#!/usr/bin/env python$@#!/usr/bin/python@' gprof2dot.py
-cd tests
-sed -i 's/^PYTHON=python2.5$/PYTHON=python/' runtests.sh
%build
@@ -44,12 +45,9 @@ mkdir -p %{buildroot}%{_bindir}
install -p -m 0755 gprof2dot.py %{buildroot}%{_bindir}/gprof2dot
chmod 0644 hotshotmain.py
-%clean
-rm -rf %{buildroot}
-
%check
-cd tests
-./runtests.sh
+python2 ./tests/test.py
+python3 ./tests/test.py
%files
%defattr(-,root,root,-)
@@ -58,6 +56,9 @@ cd tests
%changelog
+* Wed Mar 4 2015 Mamoru TASAKA <mtasaka at fedoraproject.org> - 1.0-0.13.20150131gitc1354af
+- New upstream snapshot (actually same as pypi 2015.02.03)
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-0.12.20130226git1ef99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index e5d7aa2..19d36b1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-293d57b620f9e2014dcbd6bac352ecc8 gprof2dot-1.0.tar.xz
+a1659f29ecda8e463e5e936c3489485a gprof2dot-1.0-c1354af297d263de3b327e9cbd4045176d70726f.tar.xz
More information about the scm-commits
mailing list