Compare commits
11 Commits
a2a38cdb7e
...
ea1c3f5ed1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea1c3f5ed1 | ||
|
|
036c178abc | ||
|
|
454920eec3 | ||
|
|
746c00f896 | ||
|
|
c66c558a84 | ||
|
|
4562cbfadd | ||
|
|
778eb92805 | ||
|
|
58dfb0ba67 | ||
|
|
01ddee6a5f | ||
|
|
6887793c77 | ||
|
|
3b36e051d6 |
Binary file not shown.
44
dyninst.spec
44
dyninst.spec
@ -1,16 +1,17 @@
|
||||
Name: dyninst
|
||||
License: LGPLv2+
|
||||
Release: 1
|
||||
Version: 10.1.0
|
||||
Release: 4
|
||||
Version: 11.0.1
|
||||
Summary: An API for Run-time Code Generation
|
||||
ExclusiveArch: x86_64
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
|
||||
%global dyninst_base dyninst-%{version}
|
||||
%global testsuite_base testsuite-%{version}
|
||||
%global testsuite_version 11.0.1
|
||||
%global testsuite_base testsuite-%{testsuite_version}
|
||||
|
||||
URL: http://www.dyninst.org
|
||||
Source0: https://github.com/dyninst/dyninst/archive/v%{version}/dyninst-%{version}.tar.gz
|
||||
Source1: https://github.com/dyninst/testsuite/archive/v%{version}/testsuite-%{version}.tar.gz
|
||||
Source1: https://github.com/dyninst/testsuite/archive/v%{testsuite_version}/%{testsuite_base}.tar.gz
|
||||
|
||||
BuildRequires: cmake gcc-c++
|
||||
BuildRequires: binutils-devel boost-devel
|
||||
@ -73,13 +74,6 @@ find ../install -name '*.cmake' -execdir \
|
||||
sed -i -e 's!%{_prefix}!../install&!' '{}' '+'
|
||||
sed -i '/libtbb.so/ s/".*usr/"\/usr/' $PWD/../install%{_libdir}/cmake/Dyninst/commonTargets.cmake
|
||||
|
||||
cd ../%{testsuite_base}
|
||||
%cmake \
|
||||
-DDyninst_DIR:PATH=$PWD/../install%{_libdir}/cmake/Dyninst \
|
||||
-DINSTALL_DIR:PATH=%{_libdir}/dyninst/testsuite \
|
||||
-DCMAKE_BUILD_TYPE:STRING=Debug \
|
||||
-DCMAKE_SKIP_RPATH:BOOL=YES \
|
||||
.
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -87,13 +81,8 @@ cd %{dyninst_base}
|
||||
%make_install
|
||||
rm -v %{buildroot}%{_docdir}/*-%{version}.pdf
|
||||
|
||||
cd ../%{testsuite_base}
|
||||
%make_install
|
||||
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "%{_libdir}/dyninst" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
find %{buildroot}%{_libdir}/dyninst/testsuite/ \
|
||||
-type f '!' -name '*.a' -execdir chmod 644 '{}' '+'
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
@ -110,9 +99,6 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
|
||||
%{_libdir}/cmake/Dyninst
|
||||
%{_libdir}/dyninst/*.a
|
||||
%{_bindir}/parseThat
|
||||
%dir %{_libdir}/dyninst/testsuite/
|
||||
%attr(755,root,root) %{_libdir}/dyninst/testsuite/*[!a]
|
||||
%attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a
|
||||
%exclude %{_bindir}/cfg_to_dot
|
||||
%exclude /usr/bin/codeCoverage
|
||||
%exclude /usr/bin/unstrip
|
||||
@ -134,6 +120,24 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
|
||||
%doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf
|
||||
|
||||
%changelog
|
||||
* Fri Dec 16 2022 Weifeng Su <suweifeng1@huawei.com> - 11.0.1-4
|
||||
- remove useless testsuite in devel package
|
||||
|
||||
* Tue Oct 25 2022 yaowenbin <yaowenbin1@huawei.com> - 11.0.1-3
|
||||
- fix date err in changelog
|
||||
|
||||
* Tue Oct 25 2022 yaowenbin <yaowenbin1@huawei.com> - 11.0.1-2
|
||||
- update to release 2
|
||||
|
||||
* Sat Dec 4 2021 zhouwenpei <zhouwenpei1@huawei.com> - 11.0.1-1
|
||||
- update to 11.0.1
|
||||
|
||||
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 10.2.1-1
|
||||
- update to 10.2.1
|
||||
|
||||
* Fri Jul 31 2020 jinzhimin<jinzhimin2@huawei.com> - 10.1.0-2
|
||||
- Add patch to build on glibc>=2.30
|
||||
|
||||
* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 10.1.0-1
|
||||
- update to 10.1.0
|
||||
|
||||
|
||||
Binary file not shown.
BIN
testsuite-11.0.1.tar.gz
Normal file
BIN
testsuite-11.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user