Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
ltp
ltp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ltp.spec of Package ltp
Summary: Linux Test Project Name: ltp Version: 20170516 Release: 1 License: GPLv2+ Group: Development/Kernel URL: http://ltp.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/%{name}/LTP%20Source/%{name}-%{version}/%{name}-full-%{version}.tar.bz2 BuildRequires: flex BuildRequires: rsync Requires: cdialog %description The Linux Test Project is a joint project with SGI, IBM, OSDL, and Bull with a goal to deliver test suites to the open source community that validate the reliability, robustness, and stability of Linux. The Linux Test Project is a collection of tools for testing the Linux kernel and related features. Our goal is to improve the Linux kernel by bring test automation to the kernel testing effort. Interested open source contributors are encouraged to join the project. %prep %setup -q -n %{name}-full-%{version} sed -i 's| O_LARGEFILE| __O_LARGEFILE|' testcases/kernel/io/writetest/writetest.c sed -i -e 's| PACKAGE|"%{name}"|' -e 's| VERSION|"%{version}"|' tools/genload/stress.c tools/genload/genload.c sed -i 's|uintptr_t|intptr_t|' testcases/kernel/security/dirtyc0w/dirtyc0w_child.c %build make autotools %configure make CFLAGS+="-Wno-format-security -lpthread -Iinclude -I../include -I../../include" %install %make_install mkdir -p %{buildroot}%{_libdir}/%{name}/ mv %{buildroot}%{_prefix}/{runtest,testcases,testscripts,scenario_groups,Version} %{buildroot}%{_libdir}/%{name}/ mv %{buildroot}%{_prefix}/{IDcheck.sh,runltp,runltplite.sh,ver_linux} %{buildroot}%{_bindir}/ find %{buildroot} -type f -perm 775 -exec chmod 755 \{\} \; %files %{_libdir}/%{name} %{_mandir}/man1/* %{_mandir}/man3/* %{_bindir}/* %changelog * Fri Aug 25 2017 Huaren Zhong <huaren.zhong@gmail.com> 20170516 - Rebuild for Fedora * Thu Aug 14 2014 Andrey Bondrov <andrey.bondrov@rosalab.ru> 0.20120903-4 + Revision: ef5e311 - Spec cleanup, build with tirpc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor