[gssproxy] Adjust specfile to recent gssproxy-0.2.0 changes.
Guenther Deschner
gd at fedoraproject.org
Fri Apr 26 13:08:36 UTC 2013
commit c13fc097f52000e175dbeedc496829d9a0eeb136
Author: Günther Deschner <gdeschner at redhat.com>
Date: Fri Apr 26 15:07:47 2013 +0200
Adjust specfile to recent gssproxy-0.2.0 changes.
gssproxy.spec | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/gssproxy.spec b/gssproxy.spec
index afa5156..3a7a05b 100644
--- a/gssproxy.spec
+++ b/gssproxy.spec
@@ -1,6 +1,6 @@
Name: gssproxy
Version: 0.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GSSAPI Proxy
Group: System Environment/Libraries
@@ -11,6 +11,11 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%global servicename gssproxy
%global pubconfpath %{_sysconfdir}/gssproxy
+%global gpstatedir %{_localstatedir}/lib/gssproxy
+
+### Patches ###
+
+### Dependencies ###
Requires: krb5-libs >= 1.11.2
Requires: keyutils-libs
@@ -41,11 +46,12 @@ BuildRequires: systemd-units
%description
-A proxy for GSSAPI credential handling.
+A proxy for GSSAPI credential handling
%prep
%setup -q
+
%build
autoreconf -f -i
%configure \
@@ -59,12 +65,12 @@ make %{?_smp_mflags} all
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
+rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy
install -d -m755 %{buildroot}%{_unitdir}
install -m644 examples/gssproxy.conf %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf
install -m644 examples/mech %{buildroot}%{_sysconfdir}/gss/mech
install -m644 systemd/gssproxy.service %{buildroot}%{_unitdir}/gssproxy.service
-rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
%clean
rm -rf %{buildroot}
@@ -75,7 +81,9 @@ rm -rf %{buildroot}
%doc COPYING
%{_unitdir}/gssproxy.service
%{_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(0644,root,root) %config(noreplace) /%{_sysconfdir}/gss/mech
%{_libdir}/gssproxy/proxymech.so
More information about the scm-commits
mailing list