Skip to content

Commit

Permalink
fixup! fix symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Jan 29, 2025
1 parent 10495a2 commit e0743e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osbuild-composer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ install -m 0644 -vp vendor/github.com/osbuild/images/data/repositories/centos-*
%else
# All other CentOS versions support building for the same version
install -m 0644 -vp vendor/github.com/osbuild/images/data/repositories/centos-%{centos}* %{buildroot}%{_datadir}/osbuild-composer/repositories/
install -m 0644 -vp vendor/github.com/osbuild/images/data/repositories/centos-stream-%{centos}* %{buildroot}%{_datadir}/osbuild-composer/repositories/
# centos-stream-* are symlinks
cp -a repositories/centos-stream-%{centos}* %{buildroot}%{_datadir}/osbuild-composer/repositories/
%endif

%else
Expand Down

0 comments on commit e0743e2

Please sign in to comment.