diff --git a/ltp-20210121.tar.gz b/ltp-20210121.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8ee01c56ecbd25bf17ea13ac52b91d5b9bd6a8d8 Binary files /dev/null and b/ltp-20210121.tar.gz differ diff --git a/ltp.spec b/ltp.spec new file mode 100755 index 0000000000000000000000000000000000000000..60ea55eb8d73dd21390340e41579bcb636ba4bea --- /dev/null +++ b/ltp.spec @@ -0,0 +1,40 @@ +Summary: Linux test project +Name: ltp +Version: 20210121 +Release: 1 +License: GPLv2 and GPLv2+ +URL: https://github.com/linux-test-project/ltp +Source: https://github.com/linux-test-project/ltp/archive/refs/tags/%{name}-%{version}.tar.gz + +BuildRequires: gcc git make pkgconf autoconf automake bison flex m4 kernel-headers glibc-headers + +%description +The LTP testsuite contains a collection of tools for testing the Linux kernel and related features. + +%prep +%autosetup -n %{name}-%{version} + +%build +make autotools +./configure +make all + +%install +make install DESTDIR="%{buildroot}" + +%pre +%preun +%post +%postun + +%check + +%files +%license COPYING +%doc INSTALL VERSION README.md TODO +/opt/%{name}/* +/usr/* + +%changelog +* Thu Apr 29 2021 ssstone<31761424@qq.com> +- Package init