File: pi_tests.spec

package info (click to toggle)
rt-tests 1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 708 kB
  • ctags: 1,268
  • sloc: ansic: 8,836; python: 480; makefile: 183
file content (81 lines) | stat: -rw-r--r-- 2,486 bytes parent folder | download | duplicates (6)
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
Summary: Programs used to test Priority Inheritance Mutexes
Name: pi_tests
Version: 1.17
Release: 1%{?dist}
License: GPL
Group: Development/Tools
URL: http://people.redhat.com/~williams/tests
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%define mandir usr/share/man

%description
The pi_tests package contains programs used to test the functionality of 
the priority inheritance attribute of POSIX mutexes on the Linux kernel

%prep
%setup -q

%build
make all

%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
install -D -m 755 classic_pi $RPM_BUILD_ROOT/usr/sbin/classic_pi
install -D -m 755 pi_stress $RPM_BUILD_ROOT/usr/sbin/pi_stress
install -D -m 644 pi_stress.8 $RPM_BUILD_ROOT/%{mandir}/man8/pi_stress.8
gzip $RPM_BUILD_ROOT/%{mandir}/man8/pi_stress.8
install -D -m 644 COPYING $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/COPYING
install -D -m 644 README $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}/README

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
/usr/sbin/classic_pi
/usr/sbin/pi_stress
%doc
/usr/share/man/man8/pi_stress.8.gz
/usr/share/doc/%{name}-%{version}/COPYING
/usr/share/doc/%{name}-%{version}/README

%changelog
* Wed Jan  2 2008 Clark Williams <williams@redhat.com> - 1.17-1
- fixed logic error with watchdog_check()

* Wed Jul 11 2007 Clark Williams <williams@redhat.com> - 1.16-1
- bumped version for packaging in RHEL-RT
- added usage() to classic_pi
- removed --signal option in pi_stress

* Wed Jul 11 2007 Clark Williams <williams@redhat.com> - 1.15-1
- added rpmlint target to Makefile
- fixed rpmlint complaints in specfile

* Wed Dec 12 2006 Clark Williams <williams@redhat.com> - 1.14-1
- changed how pi_stress shutdown is handled
- fixed dealing with --iterations shutdown

* Thu Dec  7 2006 Clark Williams <williams@redhat.com> - 1.13-1
- Added README and COPYING files

* Wed Dec  6 2006 Clark Williams <williams@redhat.com> - 1.12-1
- changed shutdown variable to volatile
- bumped version

* Mon Dec  4 2006 Clark Williams <williams@redhat.com> - 1.11-1
- Modified priorities to be just above minimum (as opposed to just below max)

* Thu Nov 30 2006 Clark Williams <williams@redhat.com> - 1.10-1
- added timing logic to pi_stress.c
- refactored function order in pi_stress.c

* Wed Nov 29 2006 Clark Williams <williams@redhat.com> - 1.9-1
- added --duration logic to pi_stress.c

* Mon Nov 27 2006 Clark Williams <williams@redhat.com> - 1.8-1
- Initial packaging.