Skip to content

Commit

Permalink
[dist] Rename ec2utils.conf to .ec2utils.conf in our packages
Browse files Browse the repository at this point in the history
The ec2uploadimg script expects the config to have a '.' prefix.
  • Loading branch information
bgeuken committed Feb 20, 2018
1 parent b3cceed commit 4be2744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/obs-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ fi

install -m 755 $RPM_BUILD_DIR/open-build-service-%version/dist/clouduploader.rb $RPM_BUILD_ROOT/%{_bindir}/clouduploader
mkdir -p $RPM_BUILD_ROOT/etc/obs/cloudupload
install -m 644 $RPM_BUILD_DIR/open-build-service-%version/dist/ec2utils.conf.example $RPM_BUILD_ROOT/etc/obs/cloudupload/ec2utils.conf
install -m 644 $RPM_BUILD_DIR/open-build-service-%version/dist/ec2utils.conf.example $RPM_BUILD_ROOT/etc/obs/cloudupload/.ec2utils.conf

%check
%if 0%{?disable_obs_test_suite}
Expand Down Expand Up @@ -728,7 +728,7 @@ usermod -a -G docker obsservicerun
%{_bindir}/clouduploader
%dir /etc/obs
%dir /etc/obs/cloudupload
%config(noreplace) /etc/obs/cloudupload/ec2utils.conf
%config(noreplace) /etc/obs/cloudupload/.ec2utils.conf

%package -n obs-container-registry
Summary: The Open Build Service -- container registry
Expand Down

0 comments on commit 4be2744

Please sign in to comment.