Blame beakerlib-libraries.spec

032f45
%global libraries_path %{_datadir}/beakerlib-libraries
032f45
032f45
Name: beakerlib-libraries
f01428
Version: 0.4
c36437
Release: 2%{?dist}
032f45
Summary: Beakerlib libraries
032f45
032f45
License: GPLv2 and GPLv2+
032f45
URL: https://pagure.io/beakerlib-libraries/
032f45
Source0: https://releases.pagure.org/beakerlib-libraries/%{name}-%{version}.tar.gz
032f45
BuildArch: noarch
c36437
AutoReq: no
032f45
Requires: beakerlib
032f45
032f45
%description
032f45
Beakerlib Libraries are used by beakerlib tests to encapsulate common complex
032f45
tasks such as configuring and starting a particular daemon in a single
032f45
function.
032f45
032f45
%prep
032f45
%autosetup
032f45
032f45
%build
032f45
032f45
%install
724b4e
find . -maxdepth 2 -mindepth 2 '(' -path './bin/*' -o -path './.git*' ')' -prune -o -type d \
724b4e
    -exec sh -c 'install -v -d $RPM_BUILD_ROOT%libraries_path/$(dirname "{}")/Library' ';' \
724b4e
    -exec sh -c 'cp -v -a "{}" $RPM_BUILD_ROOT%libraries_path/$(dirname "{}")/Library'  ';'
724b4e
install -d "$RPM_BUILD_ROOT/%_bindir"
724b4e
install -m755 "bin/get-test-deps" "$RPM_BUILD_ROOT/%_bindir"
032f45
032f45
%files
724b4e
%libraries_path
724b4e
%_bindir/get-test-deps
032f45
032f45
%changelog
c36437
* Thu Jun 20 2019 Andrei Stepanov <astepano@redhat.com> - 0.4-2
c36437
- Build with AutoReq: no
c36437
f01428
* Fri Mar 22 2019 Andrei Stepanov <astepano@redhat.com> - 0.4-1
f01428
- Build with the latest merged PRs.
f01428
7c97df
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-2
7c97df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7c97df
724b4e
* Thu Sep 20 2018 Andrei Stepanov <astepano@redhat.com> - 0.3-1
724b4e
- Build with the latest merged PRs.
724b4e
462720
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-2
462720
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
462720
032f45
* Tue Jun 19 2018 Andrei Stepanov <astepano@redhat.com> - 0.2-1
032f45
- RPM package for Fedora/EPEL repo.