%global libraries_path %{_datadir}/beakerlib-libraries Name: beakerlib-libraries Version: 0.2 Release: 1.8%{?dist} Summary: Beakerlib libraries License: GPLv2 and GPLv2+ URL: https://pagure.io/beakerlib-libraries/ Source0: https://releases.pagure.org/beakerlib-libraries/%{name}-%{version}.tar.gz BuildArch: noarch Requires: beakerlib %description Beakerlib Libraries are used by beakerlib tests to encapsulate common complex tasks such as configuring and starting a particular daemon in a single function. %prep %autosetup %build %install find . -maxdepth 2 -mindepth 2 '(' -path './bin/*' -o -path './.git*' ')' -prune -o -type d \ -exec sh -c 'install -v -d $RPM_BUILD_ROOT%libraries_path/$(dirname "{}")/Library' ';' \ -exec sh -c 'cp -v -a "{}" $RPM_BUILD_ROOT%libraries_path/$(dirname "{}")/Library' ';' install -d "$RPM_BUILD_ROOT/%_bindir" install -m755 "bin/get-test-deps" "$RPM_BUILD_ROOT/%_bindir" %files %libraries_path %_bindir/get-test-deps %changelog * Thu Sep 20 2018 Andrei Stepanov - 0.2-1.8 - Build with the latest merged PRs. * Thu Sep 20 2018 Andrei Stepanov - 0.2-1.7 - Build with the latest merged PRs. * Thu Sep 20 2018 Andrei Stepanov - 0.2-1.6 - Build with the latest merged PRs. * Thu Sep 20 2018 Andrei Stepanov - 0.2-1.5 - Build with the latest merged PRs. * Wed Sep 19 2018 Andrei Stepanov - 0.2-1.4 - Build with the latest merged PRs. * Wed Sep 19 2018 Andrei Stepanov - 0.2-1.3 - Build with the latest merged PRs. * Wed Sep 19 2018 Andrei Stepanov - 0.2-1.2 - Build with the latest merged PRs. * Wed Sep 19 2018 Andrei Stepanov - 0.2-1.1 - Build with the latest merged PRs. * Tue Jun 19 2018 Andrei Stepanov - 0.2-1 - RPM package for Fedora/EPEL repo.