diff --git a/zmat.spec b/zmat.spec index dfc4ded..7b78f28 100644 --- a/zmat.spec +++ b/zmat.spec @@ -36,15 +36,6 @@ Requires: %{name}-devel The %{name}-static package provides the static library you may need to develop applications using zmat. -%package demos -Summary: Example codes to use zmatlib in C/Fortran programs -BuildArch: noarch -Requires: %{name}-devel%{?_isa} = %{version}-%{release} - -%description demos -This package contains the demo codes for %{name}-devel to show how -to call zmatlib functions in other programming languages. - %prep %autosetup -n %{name}-%{version} chmod a-x src/easylzma/pavlov/* @@ -83,6 +74,7 @@ popd %doc README.rst %doc AUTHORS.txt %doc ChangeLog.txt +%doc examples %{_libdir}/lib%{name}.so.%{version} %{_libdir}/lib%{name}.so.1 @@ -94,13 +86,11 @@ popd %files static %{_libdir}/lib%{name}.a -%files demos -%doc examples - %changelog * Thu May 28 2020 Qianqian Fang - 0.9.8-3 - Rebuild packages +- Add sample codes directly to the devel package * Wed May 27 2020 Qianqian Fang - 0.9.8-2 - Update spec file to include demos package