#rhbz 530128
This commit is contained in:
parent
44108b7d1a
commit
a178a82ff0
26
munge.spec
26
munge.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: munge
|
Name: munge
|
||||||
Version: 0.5.8
|
Version: 0.5.8
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Enables uid & gid authentication across a host cluster
|
Summary: Enables uid & gid authentication across a host cluster
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -45,12 +45,20 @@ methods.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for uid * gid authentication acrosss a host cluster
|
Summary: Development files for uid * gid authentication acrosss a host cluster
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Header files for developing using MUNGE.
|
Header files for developing using MUNGE.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Runtime libs for uid * gid authentication acrosss a host cluster
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Group: Applications/System
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Runtime libraries for using MUNGE.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -107,7 +115,6 @@ touch $RPM_BUILD_ROOT%{_var}/run/%{name}/%{name}d.pid
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
|
||||||
if [ "$1" -ge "1" ] ; then
|
if [ "$1" -ge "1" ] ; then
|
||||||
/sbin/service munge condrestart >/dev/null 2>&1 || :
|
/sbin/service munge condrestart >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
@ -129,8 +136,9 @@ exit 0
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/chkconfig --add munge || :
|
/sbin/chkconfig --add munge || :
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
%post libs -p /sbin/ldconfig
|
||||||
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -145,8 +153,6 @@ exit 0
|
|||||||
%{_mandir}/man1/unmunge.1.gz
|
%{_mandir}/man1/unmunge.1.gz
|
||||||
%{_mandir}/man7/munge.7.gz
|
%{_mandir}/man7/munge.7.gz
|
||||||
%{_mandir}/man8/munged.8.gz
|
%{_mandir}/man8/munged.8.gz
|
||||||
%{_libdir}/libmunge.so.2
|
|
||||||
%{_libdir}/libmunge.so.2.0.0
|
|
||||||
|
|
||||||
%attr(-,munge,munge) %dir %{_var}/run/munge
|
%attr(-,munge,munge) %dir %{_var}/run/munge
|
||||||
%attr(0700,munge,munge) %dir %{_var}/log/munge
|
%attr(0700,munge,munge) %dir %{_var}/log/munge
|
||||||
@ -165,7 +171,10 @@ exit 0
|
|||||||
%doc JARGON META NEWS QUICKSTART README
|
%doc JARGON META NEWS QUICKSTART README
|
||||||
%doc doc
|
%doc doc
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/libmunge.so.2
|
||||||
|
%{_libdir}/libmunge.so.2.0.0
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -189,6 +198,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 21 2009 Steve Traylen <steve.traylen@cern.ch> - 0.5.8-7
|
||||||
|
- rhbz#530128 Move runtime libs to a new -libs package.
|
||||||
|
ldconfig moved to new -libs package as a result.
|
||||||
* Sat Sep 26 2009 Steve Traylen <steve.traylen@cern.ch> - 0.5.8-6
|
* Sat Sep 26 2009 Steve Traylen <steve.traylen@cern.ch> - 0.5.8-6
|
||||||
- Patch for rhbz #525732 - Loads /etc/sysconfig/munge
|
- Patch for rhbz #525732 - Loads /etc/sysconfig/munge
|
||||||
correctly.
|
correctly.
|
||||||
|
Loading…
Reference in New Issue
Block a user