File: prctl.spec

package info (click to toggle)
prctl 1.7-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 88 kB
  • sloc: ansic: 358; makefile: 103
file content (71 lines) | stat: -rw-r--r-- 1,898 bytes parent folder | download | duplicates (2)
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
%define version 1.6

Summary: Utility to perform process operations
Name: prctl
Version: %{version}
Release: 1
Copyright: GPL
Group: Applications/System
Source: ftp://linux.hpl.hp.com/pub/linux-ia64/prctl-%{version}.tar.gz
Buildroot: /var/tmp/%{name}-root
ExclusiveOS: linux 

%description
The prctl utility allows a user to control certain process behavior in the
runtime environment. This utility works on Linux 2.4 and higher kernels only.

%prep
%setup

%build
./configure
make

%clean
rm -rf $RPM_BUILD_ROOT

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/local/man
make install prefix=$RPM_BUILD_ROOT/usr/local

%post

%preun

%files
%doc
/usr/local/bin/prctl
/usr/local/man/man1/prctl.1

%changelog
* Wed Feb 26 2014	Khalid Aziz (khalid.aziz@oracle.com)
- Improved messages and suppressed unnecessary error messages
- Added support for PR_MCE_KILL

* Thu May 18 2006	Khalid Aziz (khalid_aziz@hp.com)
- Updated man page location in Makefile.in
- Better error message in case kernel does not support prctl operations.

* Wed Mar  5 2003	Khalid Aziz (khalid_aziz@hp.com)
- Added "always-signal" option to --unaligned for ia64.

* Wed Oct 17 2001	Khalid Aziz (khalid_aziz@hp.com)
- Added option to set floating point emulation behavior.

* Mon Jun  4 2001	Khalid Aziz (khalid_aziz@hp.com)
- Bug fix: Did not recognize "--unaligned=default" as a valid 
  command.

* Fri Jan 12 2001	Khalid Aziz (khalid_aziz@hp.com)
- Removed post-install warning from spec file. Added the removed
  warning to NOTES section of man page.

* Thu Nov  9 2000	Khalid Aziz (khalid_aziz@hp.com)
- Bug fix: If invoked as "prctl --unaligned=signal ./foo -b -a 
  -r bletch", options -b, -a and -r are interpreted as options to 
  prctl as opposed to options to foo.

* Thu Sep 21 2000	Khalid Aziz (khalid_aziz@hp.com)
- Initial release of prctl with support for unaligned memory access
  behavior control.