%global _source_filedigest_algorithm md5 Name: dummy-pkg Version: 20230825_1755 Release: 1%{?dist} Summary: A dummy package BuildArch: noarch ExclusiveArch: %java_arches noarch Group: NONE License: GPLv3+ URL: http://example.com/ %if 0%{?rhel} && 0%{?rhel} <= 5 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %endif Source0: https://raw.githubusercontent.com/praiskup/quick-package/master/README.xz %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} %description Description for the %name package that is used for various testing tasks. %prep echo _target_cpu %_target_cpu echo _host_cpu %_host_cpu echo _build_cpu %_build_cpu cat /usr/lib/rpm/macros rpm --showrc %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 %dir %{_pkgdocdir} %doc %{_pkgdocdir}/README %changelog * Thu Jun 05 2014 Pavel Raiskup - 0-1 - does nothing!