diff --git a/satyr.spec b/satyr.spec index 373a4a1938a3748263d2ef5682b2602885236c2e..e55c0fd7dd574581df60e1ccb9a9383f64df2667 100644 --- a/satyr.spec +++ b/satyr.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %if 0%{?fedora} || 0%{?rhel} > 7 @@ -61,6 +61,9 @@ BuildRequires: python3-sphinx # by 'git format-patch' BuildRequires: git +Requires: glibc +Provides: /usr/bin/satyr + Patch0001: 0001-Anonymize-paths-in-frames.patch Patch0002: 0002-testsuite-Correct-syntax-for-gdb-backtrace-command.patch @@ -114,6 +117,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Python 3 bindings for %{name}. %endif # if with python3 +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep # http://www.rpm.org/wiki/PackagerDocs/Autosetup # Default '__scm_apply_git' is 'git apply && git commit' but this workflow @@ -158,7 +169,6 @@ make check|| { %endif %files -%doc README NEWS %license COPYING %{_bindir}/satyr %{_mandir}/man1/%{name}.1* @@ -184,7 +194,13 @@ make check|| { %{python3_sitearch}/%{name}/* %endif +%files doc +%doc README NEWS + %changelog +* Sun Jul 17 2022 Xiaoping Liu - 0.26-2.0.2 +- Add doc sub package + * Wed Dec 01 2021 Weitao Zhou 0.26-2.0.1 - use extern in header files when declaring global variables for compatible gcc10 build