-
Notifications
You must be signed in to change notification settings - Fork 2
/
sediment.spec
122 lines (88 loc) · 3.55 KB
/
sediment.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Name: sediment
Version: 0.9.4
Release: 1%{?dist}
Summary: A function reordering tool set
License: GPL-3.0-or-later
URL: https://github.com/wcohen/sediment
Source0: https://github.com/wcohen/sediment/archive/%{version}/%{name}-%{version}.tar.gz
# sphinx is used for building documentation:
BuildRequires: make
BuildRequires: python3-sphinx >= 2.0
BuildRequires: automake
BuildRequires: autoconf
#Requires: gcc-python3-plugin
Requires: python3dist(gv)
BuildArch: noarch
%description
The sediment tool set allows reordering of the functions in compiled
programs built with RPM to reduce the frequency of TLB misses and
decrease the number of pages in the resident set. Sediment generates
call graphs from program execution and converts the call graphs into
link order information to improve code locality.
%prep
%autosetup -n sediment-%{version}
%build
autoreconf -iv
%configure
# doc makefile using sphinx does not work with parallel build
make
%install
%make_install
%files
%{_bindir}/gv2link
%{_bindir}/perf2gv
%{_bindir}/gen_profile_merge
%{_bindir}/make_sediment_rpmmacros
%{_libexecdir}/%{name}
%{_docdir}/sediment/html
%doc README AUTHORS NEWS COPYING
%{_mandir}/man1/*
%changelog
* Wed Dec 4 2024 William Cohen <[email protected]> - 0.9.4-1
- Eliminate versioning infomation in function names.
* Mon Nov 18 2024 William Cohen <[email protected]> - 0.9.3-1
- Update documentation with Fedora 41 postgres example.
* Mon Nov 4 2024 William Cohen <[email protected]> - 0.9.2-2
- Add make_sediment_rpmmacros and update Makefile.* and configure to include it.
* Mon Oct 21 2024 William Cohen <[email protected]> - 0.9.2-1
- Update to use binutil 2.43 ld for linking.
* Tue Sep 10 2024 William Cohen <[email protected]> - 0.9.1-17
- Incorporate Fedora sediment.spec fixes and general cleanup of sediment.spec.
* Mon Nov 05 2018 William Cohen <[email protected]> - 0.9.1-2
- Use python3-sphinx to build documentation.
* Mon Nov 05 2018 William Cohen <[email protected]> - 0.9.1-1
- Use python3.
* Fri May 18 2018 Zbigniew Jędrzejewski-Szmek <[email protected]> - 0.9-3
- Update graphviz dependency
* Wed Mar 07 2018 William Cohen <[email protected]> - 0.9-2
- Add automake build requires.
* Wed Mar 07 2018 William Cohen <[email protected]> - 0.9-1
- Rebuild on sediment 0.9.
* Wed Mar 05 2014 William Cohen <[email protected]> 0.8-2
- Avoid listing doc files twice in newer Fedora distributions.
* Wed Mar 05 2014 William Cohen <[email protected]> 0.8-1
- Rebase on sediment-0.7.
* Mon Mar 03 2014 William Cohen <[email protected]> 0.7-1
- Rebase on sediment-0.7.
* Fri Feb 28 2014 William Cohen <[email protected]> 0.6-1
- Update package and spec file based on Fedora package review rhbz 1070449.
* Thu Feb 27 2014 William Cohen <[email protected]> 0.5-2
- Update spec file based on Fedora package review rhbz 1070449.
* Wed Feb 26 2014 William Cohen <[email protected]> 0.5-1
- Bump version.
* Wed Feb 26 2014 William Cohen <[email protected]> 0.4-1
- Bump version.
* Wed Feb 26 2014 William Cohen <[email protected]> 0.3-3
- Move write-dot-callgraph.py out of /usr/bin.
* Mon Feb 24 2014 William Cohen <[email protected]> 0.3-2
- spec file fixes based on comments.
* Mon Feb 24 2014 William Cohen <[email protected]> 0.3-1
- Bump version.
* Mon Feb 24 2014 William Cohen <[email protected]> 0.2-3
- Add basic man pages for perf2gv.py and gv2link.py.
* Wed Feb 19 2014 William Cohen <[email protected]> 0.2-1
- Bump version to 0.2.
* Tue Feb 18 2014 William Cohen <[email protected]> 0.1-2
- Add graphviz-python requires.
* Thu Feb 14 2013 William Cohen <[email protected]> 0.1-1
- Initial release