%define __spec_install_post %{nil} %define __os_install_post %{_dbpath}/brp-compress %define debug_package %{nil} Name: xcp Summary: xcp is an experimental and incomplete clone of the Unix `cp` command, with more user-friendly feedback and some performance optimisations. NOTE: See the README for current limitations. Version: 0.19.0 Release: 1%{?dist} License: GPLv3 Group: Applications/System Source0: %{name}-%{version}.tar.gz URL: https://github.com/tarka/xcp BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description %{summary} %prep %setup -q %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/bin cp -a * %{buildroot}/usr/bin %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/*