Accepting request 561515 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/561515 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/containerd?expand=0&rev=22
This commit is contained in:
commit
82d55e32f3
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 27 11:15:36 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Fix build with RPM 4.14: exclude is not meant for files to NOT be
|
||||
packaged, but should only be used if the files are to be excluded
|
||||
from a glob when they end up in a different package. Rather
|
||||
remove the unwanted files in the install section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 11 12:30:31 UTC 2017 - asarai@suse.com
|
||||
|
||||
|
@ -130,6 +130,8 @@ install -D -m644 %SOURCE3 %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||
|
||||
install -d -m755 %{buildroot}/usr/src/containerd/
|
||||
cp -ar $HOME/go/src/github.com/containerd/containerd/* %{buildroot}/usr/src/containerd/
|
||||
# remove files we don't want to ship - exclude is the wrong usage here
|
||||
rm -rf %{buildroot}/usr/src/containerd/bin
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
@ -162,6 +164,5 @@ cp -ar $HOME/go/src/github.com/containerd/containerd/* %{buildroot}/usr/src/cont
|
||||
%files test
|
||||
%defattr(-,root,root)
|
||||
/usr/src/containerd/
|
||||
%exclude /usr/src/containerd/bin
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user