Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
opensuse: Add directory names to the %file listing
Browse files Browse the repository at this point in the history
OpenSUSE requires the directories to be owned too, not just the files. I
don't know if this is against Red Hat packaging guidelines, so I didn't
use any %if.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
  • Loading branch information
thiagomacieira committed Aug 6, 2017
1 parent 1fc0660 commit 0ff113e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions proxy/cc-proxy.spec-template
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ make install DESTDIR=%{buildroot} LIBEXECDIR=%{LIBEXECDIR}

%files bin
%defattr(-,root,root,-)
%{LIBEXECDIR}/clear-containers
%{LIBEXECDIR}/clear-containers/cc-proxy

%files config
Expand Down
6 changes: 6 additions & 0 deletions runtime/cc-runtime.spec-template
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,14 @@ make install DESTDIR=%{buildroot} PREFIX=/usr SYSCONFDIR=/etc LOCALSTATEDIR=/var
%files bin
%defattr(-,root,root,-)
/usr/bin/cc-runtime
/var/lib/clear-containers
/var/lib/clear-containers/runtime
/var/lib/clear-containers/runtime/bundles
/var/lib/clear-containers/runtime/bundles/pause_bundle
/var/lib/clear-containers/runtime/bundles/pause_bundle/bin
/var/lib/clear-containers/runtime/bundles/pause_bundle/bin/pause

%files config
%defattr(-,root,root,-)
/etc/clear-containers
/etc/clear-containers/configuration.toml
1 change: 1 addition & 0 deletions shim/cc-shim.spec-template
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ make install DESTDIR=%{buildroot}

%files bin
%defattr(-,root,root,-)
%{LIBEXECDIR}/clear-containers
%{LIBEXECDIR}/clear-containers/cc-shim

0 comments on commit 0ff113e

Please sign in to comment.