|
|
bd1cc3 |
%global git0 https://github.com/projectatomic/%{name}
|
|
|
bd1cc3 |
%global csslibdir %{_datadir}/%{name}
|
|
|
c05fc2 |
%global commit0 e0997c32103235a3eff8fe6917e6f2d0507c119e
|
|
|
bd1cc3 |
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
Name: container-storage-setup
|
|
|
c05fc2 |
Version: 0.9.0
|
|
|
c05fc2 |
Release: 1.rhel75.git%{shortcommit0}%{?dist}
|
|
|
bd1cc3 |
Summary: A simple service to setup container storage devices
|
|
|
bd1cc3 |
License: ASL 2.0
|
|
|
bd1cc3 |
URL: http://github.com/projectatomic/%{name}/
|
|
|
bd1cc3 |
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
|
|
bd1cc3 |
BuildArch: noarch
|
|
|
bd1cc3 |
BuildRequires: git
|
|
|
bd1cc3 |
Requires: lvm2
|
|
|
bd1cc3 |
Requires: xfsprogs
|
|
|
bd1cc3 |
Requires: parted
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
%description
|
|
|
bd1cc3 |
This is a simple service to configure Container Runtimes to use an LVM-managed
|
|
|
bd1cc3 |
thin pool. It also supports auto-growing both the pool as well
|
|
|
bd1cc3 |
as the root logical volume and partition table.
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
%prep
|
|
|
bd1cc3 |
%autosetup -Sgit -n %{name}-%{commit0}
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
%build
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
%install
|
|
|
bd1cc3 |
install -dp %{buildroot}%{_datadir}/%{name}
|
|
|
bd1cc3 |
install -dp %{buildroot}%{_mandir}/man1
|
|
|
bd1cc3 |
install -D -p -m 755 %{name}.sh %{buildroot}%{_bindir}/%{name}
|
|
|
bd1cc3 |
install -p -m 644 %{name}.conf %{buildroot}%{csslibdir}/%{name}
|
|
|
bd1cc3 |
install -p -m 755 libcss.sh %{buildroot}/%{csslibdir}
|
|
|
bd1cc3 |
install -p -m 755 css-child-read-write.sh %{buildroot}/%{csslibdir}/css-child-read-write
|
|
|
bd1cc3 |
install -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
bd1cc3 |
#%{__make} install-core DESTDIR=%{buildroot}
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
%files
|
|
|
bd1cc3 |
%doc README.md
|
|
|
bd1cc3 |
%license LICENSE
|
|
|
bd1cc3 |
%{_bindir}/%{name}
|
|
|
bd1cc3 |
%dir %{csslibdir}
|
|
|
bd1cc3 |
%{_mandir}/man1/%{name}.1*
|
|
|
bd1cc3 |
%{csslibdir}/%{name}
|
|
|
bd1cc3 |
%{csslibdir}/css-child-read-write
|
|
|
bd1cc3 |
%{csslibdir}/libcss.sh
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
%changelog
|
|
|
c05fc2 |
* Mon Nov 13 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.9.0-1.rhel75.gite0997c3
|
|
|
c05fc2 |
- Resolves: #1475625
|
|
|
c05fc2 |
- bump to v0.9.0
|
|
|
c05fc2 |
- built commit e0997c3
|
|
|
c05fc2 |
- include 'rhel75' string in release field to differentiate from rhel 7.4
|
|
|
bd1cc3 |
|
|
|
c05fc2 |
* Thu Oct 26 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.8.0-2.git1d27ecf
|
|
|
bd1cc3 |
- Requires: parted
|
|
|
bd1cc3 |
- Resolves: #1416928
|
|
|
bd1cc3 |
|
|
|
c05fc2 |
* Wed Oct 25 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.8.0-1.git1d27ecf
|
|
|
c05fc2 |
- built commit 1d27ecf705a964b4d96ec815120359eeec1fea50
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Tue Jun 13 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.3.0-1.git9b77bcb
|
|
|
bd1cc3 |
- built commit 9b77bcb
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Thu May 04 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.3.0-1.git8276a1e
|
|
|
bd1cc3 |
- use correct version tag, no change in source
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Wed May 03 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.2.0-3.git8276a1e
|
|
|
bd1cc3 |
- add shortcommit to release tag
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Wed May 03 2017 Lokesh Mandvekar <lsm5@redhat.com> - 0.2.0-2
|
|
|
bd1cc3 |
- built commit 8276a1e
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Fri Mar 03 2017 Dan Walsh <dwalsh@redhat.com> - 0.2.0-1
|
|
|
bd1cc3 |
- Add License
|
|
|
bd1cc3 |
- Add compatibility mode flag to only do docker specific stuff if INPUTFILE
|
|
|
bd1cc3 |
not specified.
|
|
|
bd1cc3 |
- Minor Bug fixes for non docker use cases
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Thu Mar 02 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.0-2
|
|
|
bd1cc3 |
- Resolves: #1427295 - initial package on rawhide
|
|
|
bd1cc3 |
- misc macro changes
|
|
|
bd1cc3 |
- preserve timestamps
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Mon Feb 27 2017 Dan Walsh <dwalsh@redhat.com> - 0.1.0-1
|
|
|
bd1cc3 |
- Initial version of container-storage-setup
|
|
|
bd1cc3 |
- Building to push through the fedora release cycle
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Thu Oct 16 2014 Andy Grimm <agrimm@redhat.com> - 0.0.1-2
|
|
|
bd1cc3 |
- Fix rpm deps and scripts
|
|
|
bd1cc3 |
|
|
|
bd1cc3 |
* Thu Oct 16 2014 Andy Grimm <agrimm@redhat.com> - 0.0.1-1
|
|
|
bd1cc3 |
- Initial build
|
|
|
bd1cc3 |
|