Skip to content

Commit

Permalink
Fixes #35852 - Add isoinfo dependency
Browse files Browse the repository at this point in the history
* isoinfo is provided by genisoimage package
* Add /var/lib/foreman-proxy/tftp/system_images folder
  • Loading branch information
bastian-src committed Dec 14, 2022
1 parent 077be38 commit bd4649e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/foreman/foreman-proxy/foreman-proxy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global scl_ruby_bin /usr/bin/%{?scl:%{scl_prefix}}ruby
%global scl_rake /usr/bin/%{?scl:%{scl_prefix}}rake

%global release 2
%global release 3
%global prereleasesource develop
%global prerelease %{?prereleasesource}

Expand Down Expand Up @@ -80,6 +80,7 @@ Requires: %{?scl_prefix}rubygem(xmlrpc) < 1.0

Requires: sudo
Requires: curl
Requires: genisoimage
Requires(pre): shadow-utils
%{?systemd_requires}
BuildRequires: systemd
Expand Down Expand Up @@ -131,6 +132,7 @@ install -d -m0755 %{buildroot}%{_datadir}/%{name}/config
install -d -m0755 %{buildroot}%{_sysconfdir}/%{name}
install -d -m0755 %{buildroot}%{_sysconfdir}/%{name}/settings.d
install -d -m0755 %{buildroot}%{_sharedstatedir}/%{name}
install -d -m0755 %{buildroot}%{_sharedstatedir}/%{name}/tftp/system_images
install -d -m0750 %{buildroot}%{_localstatedir}/log/%{name}
install -d -m0750 %{buildroot}%{_localstatedir}/spool/%{name}
install -d -m0750 %{buildroot}%{_rundir}/%{name}
Expand All @@ -144,6 +146,7 @@ install -Dp -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}

mkdir -p %{buildroot}%{_libexecdir}/%{name}
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}/tftp/system_images
install -m 0755 extra/puppet_sign.rb %{buildroot}%{_libexecdir}/%{name}/puppet_sign.rb

mkdir -p %{buildroot}%{_sbindir}
Expand Down Expand Up @@ -182,6 +185,7 @@ ln -sv %{_tmppath} %{buildroot}%{_datadir}/%{name}/tmp
%attr(-,%{name},%{name}) %{_localstatedir}/log/%{name}
%attr(-,%{name},%{name}) %{_localstatedir}/spool/%{name}
%attr(-,%{name},%{name}) %{_sharedstatedir}/%{name}
%attr(-,%{name},%{name}) %{_sharedstatedir}/%{name}/tftp/system_images
%attr(-,%{name},%{name}) %{_rundir}/%{name}
%attr(-,%{name},root) %{_datadir}/%{name}/config.ru
%exclude %{_datadir}/%{name}/bundler.d/development.rb
Expand Down Expand Up @@ -253,6 +257,9 @@ exit 0


%changelog
* Wed Dec 14 2022 Bastian Schmidt <[email protected]> - 3.6.0-0.3.develop
- Add isoinfo dependency

* Tue Dec 13 2022 Adam Ruzicka <[email protected]> - 3.6.0-0.2.develop
- Notify only the main process on logrotate

Expand Down

0 comments on commit bd4649e

Please sign in to comment.