%global __requires_exclude .*Acme::Cow.* %global basepackagename cowsay %global cowsdir %{_datadir}/%{basepackagename}/cows Name: %{basepackagename}-tasteless Version: 3.7.0 Release: 1%{?dist} Summary: Tasteless .cow files for configurable speaking/thinking cow License: GPL-2.0-or-later URL: https://github.com/cowsay-org/cowsay Source0: %{url}/archive/v%{version}/%{basepackagename}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators # add version to the line below Requires: %{basepackagename} Provides: %{basepackagename}-off %description This package contains tasteless .cow files. %prep ls -la . %setup -qn %{basepackagename}-%{version} %build echo No need to build anything echo Hey there! %install ls -la $RPM_BUILD_ROOT ls -la . ls -la share/cows/* install -d -m 0755 $RPM_BUILD_ROOT%{cowsdir} install -p -m 0644 share/cows/{bong,sodomized,satanic}.cow $RPM_BUILD_ROOT%{cowsdir} # License issue rm -f $RPM_BUILD_ROOT%{_datadir}/%{basepackagename}/cows/daemon.cow %files %doc ChangeLog LICENSE.txt README* %{cowsdir}/bong.cow %{cowsdir}/sodomized.cow %{cowsdir}/satanic.cow %changelog * Thu Nov 16 2023 Ondřej Gajdušek 3.7.0-1 - new package built with tito * Thu Nov 16 2023 Ondrej Gajdusek - 3.03-1 - Initial release