Make salt-api its own package

e9
Erik Johnson 10 years ago
parent 4c982ac397
commit c844f87b53

@ -16,7 +16,7 @@
Name: salt Name: salt
Version: 2014.7.0 Version: 2014.7.0
Release: 1%{?dist} Release: 3%{?dist}
Summary: A parallel remote execution system Summary: A parallel remote execution system
Group: System Environment/Daemons Group: System Environment/Daemons
@ -149,6 +149,14 @@ The Salt syndic is a master daemon which can receive instruction from a
higher-level master, allowing for tiered organization of your Salt higher-level master, allowing for tiered organization of your Salt
infrastructure. infrastructure.
%package api
Summary: REST API for Salt, a parallel remote execution system
Group: System administration tools
Requires: %{name}-master = %{version}-%{release}
%description api
salt-api provides a REST interface to the Salt master.
%package cloud %package cloud
Summary: Cloud provisioner for Salt, a parallel remote execution system Summary: Cloud provisioner for Salt, a parallel remote execution system
Group: System administration tools Group: System administration tools
@ -236,24 +244,20 @@ rm -rf %{buildroot}
%files master %files master
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_mandir}/man1/salt.1.* %doc %{_mandir}/man1/salt.1.*
%doc %{_mandir}/man1/salt-api.1.*
%doc %{_mandir}/man1/salt-cp.1.* %doc %{_mandir}/man1/salt-cp.1.*
%doc %{_mandir}/man1/salt-key.1.* %doc %{_mandir}/man1/salt-key.1.*
%doc %{_mandir}/man1/salt-master.1.* %doc %{_mandir}/man1/salt-master.1.*
%doc %{_mandir}/man1/salt-run.1.* %doc %{_mandir}/man1/salt-run.1.*
%doc %{_mandir}/man1/salt-unity.1.* %doc %{_mandir}/man1/salt-unity.1.*
%{_bindir}/salt %{_bindir}/salt
%{_bindir}/salt-api
%{_bindir}/salt-cp %{_bindir}/salt-cp
%{_bindir}/salt-key %{_bindir}/salt-key
%{_bindir}/salt-master %{_bindir}/salt-master
%{_bindir}/salt-run %{_bindir}/salt-run
%{_bindir}/salt-unity %{_bindir}/salt-unity
%if ! (0%{?rhel} >= 7 || 0%{?fedora} >= 15) %if ! (0%{?rhel} >= 7 || 0%{?fedora} >= 15)
%attr(0755, root, root) %{_initrddir}/salt-api
%attr(0755, root, root) %{_initrddir}/salt-master %attr(0755, root, root) %{_initrddir}/salt-master
%else %else
%{_unitdir}/salt-api.service
%{_unitdir}/salt-master.service %{_unitdir}/salt-master.service
%endif %endif
%config(noreplace) %{_sysconfdir}/salt/master %config(noreplace) %{_sysconfdir}/salt/master
@ -280,6 +284,16 @@ rm -rf %{buildroot}
%{_unitdir}/salt-syndic.service %{_unitdir}/salt-syndic.service
%endif %endif
%files api
%defattr(-,root,root)
%doc %{_mandir}/man1/salt-api.1.*
%{_bindir}/salt-api
%if ! (0%{?rhel} >= 7 || 0%{?fedora} >= 15)
%attr(0755, root, root) %{_initrddir}/salt-api
%else
%{_unitdir}/salt-api.service
%endif
%files cloud %files cloud
%doc %{_mandir}/man1/salt-cloud.1.* %doc %{_mandir}/man1/salt-cloud.1.*
%{_bindir}/salt-cloud %{_bindir}/salt-cloud
@ -415,6 +429,9 @@ rm -rf %{buildroot}
%endif %endif
%changelog %changelog
* Fri Nov 7 2014 Erik Johnson <erik@saltstack.com> - 2014.7.0-3
- Make salt-api its own package
* Thu Nov 6 2014 Erik Johnson <erik@saltstack.com> - 2014.7.0-1 * Thu Nov 6 2014 Erik Johnson <erik@saltstack.com> - 2014.7.0-1
- Update to feature release 2014.7.0 - Update to feature release 2014.7.0

Loading…
Cancel
Save