%global _source_filedigest_algorithm md5 Name: dummy-pkg Version: 20200812_1042 Release: 0%{?dist} Summary: dummy package Group: NONE License: GPL URL: http://example.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: README.xz %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} %description %prep %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_pkgdocdir} xz -d %{SOURCE0} --stdout > $RPM_BUILD_ROOT/%{_pkgdocdir}/README %clean rm -rf $RPM_BUILD_ROOT %files %doc %{_pkgdocdir}/README %changelog * Thu Jun 05 2014 Pavel Raiskup - 0-1 - does nothing!