Adjust specfile to recent gssproxy-0.2.0 changes.
This commit is contained in:
parent
b6f2b08133
commit
c13fc097f5
@ -1,6 +1,6 @@
|
|||||||
Name: gssproxy
|
Name: gssproxy
|
||||||
Version: 0.2.0
|
Version: 0.2.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: GSSAPI Proxy
|
Summary: GSSAPI Proxy
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -11,6 +11,11 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|||||||
|
|
||||||
%global servicename gssproxy
|
%global servicename gssproxy
|
||||||
%global pubconfpath %{_sysconfdir}/gssproxy
|
%global pubconfpath %{_sysconfdir}/gssproxy
|
||||||
|
%global gpstatedir %{_localstatedir}/lib/gssproxy
|
||||||
|
|
||||||
|
### Patches ###
|
||||||
|
|
||||||
|
### Dependencies ###
|
||||||
|
|
||||||
Requires: krb5-libs >= 1.11.2
|
Requires: krb5-libs >= 1.11.2
|
||||||
Requires: keyutils-libs
|
Requires: keyutils-libs
|
||||||
@ -41,11 +46,12 @@ BuildRequires: systemd-units
|
|||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A proxy for GSSAPI credential handling.
|
A proxy for GSSAPI credential handling
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
%configure \
|
%configure \
|
||||||
@ -59,12 +65,12 @@ make %{?_smp_mflags} all
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
|
||||||
install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy
|
install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy
|
||||||
install -d -m755 %{buildroot}%{_unitdir}
|
install -d -m755 %{buildroot}%{_unitdir}
|
||||||
install -m644 examples/gssproxy.conf %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf
|
install -m644 examples/gssproxy.conf %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf
|
||||||
install -m644 examples/mech %{buildroot}%{_sysconfdir}/gss/mech
|
install -m644 examples/mech %{buildroot}%{_sysconfdir}/gss/mech
|
||||||
install -m644 systemd/gssproxy.service %{buildroot}%{_unitdir}/gssproxy.service
|
install -m644 systemd/gssproxy.service %{buildroot}%{_unitdir}/gssproxy.service
|
||||||
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -75,7 +81,9 @@ rm -rf %{buildroot}
|
|||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_unitdir}/gssproxy.service
|
%{_unitdir}/gssproxy.service
|
||||||
%{_sbindir}/gssproxy
|
%{_sbindir}/gssproxy
|
||||||
%attr(0755,root,root) %dir %{pubconfpath}
|
%attr(755,root,root) %dir %{pubconfpath}
|
||||||
|
%attr(700,root,root) %dir %{gpstatedir}
|
||||||
|
%attr(700,root,root) %dir %{gpstatedir}/clients
|
||||||
%attr(0600,root,root) %config(noreplace) /%{_sysconfdir}/gssproxy/gssproxy.conf
|
%attr(0600,root,root) %config(noreplace) /%{_sysconfdir}/gssproxy/gssproxy.conf
|
||||||
%attr(0644,root,root) %config(noreplace) /%{_sysconfdir}/gss/mech
|
%attr(0644,root,root) %config(noreplace) /%{_sysconfdir}/gss/mech
|
||||||
%{_libdir}/gssproxy/proxymech.so
|
%{_libdir}/gssproxy/proxymech.so
|
||||||
|
Loading…
Reference in New Issue
Block a user