diff options
author | Simo Sorce <simo@redhat.com> | 2013-10-14 17:19:52 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-10-16 18:18:13 -0400 |
commit | 7478c8679c6625d8a11fbdb500d38e633d9e1189 (patch) | |
tree | 6d2950b733ade7b5e2278f5e7189a6b56a8b8ab3 | |
parent | a258eec5d8de24f9221de3e13034140efd810b5c (diff) | |
download | gss-ntlmssp-review.tar.gz gss-ntlmssp-review.tar.xz gss-ntlmssp-review.zip |
Streamline spec file.review
Fixes as requested by Fedora review
-rw-r--r-- | contrib/gssntlmssp.spec.in | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/contrib/gssntlmssp.spec.in b/contrib/gssntlmssp.spec.in index 9f91ee6..1d46360 100644 --- a/contrib/gssntlmssp.spec.in +++ b/contrib/gssntlmssp.spec.in @@ -4,18 +4,11 @@ Release: 0@PRERELEASE_VERSION@%{?dist} Summary: GSSAPI NTLMSSP Mechanism Group: System Environment/Libraries -License: MIT +License: LGPLv3+ URL: http://ssimo.org/code/gss-ntlmssp Source0: http://ssimo.org/code/gss-ntlmssp/%{name}-%{version}.tar.gz -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -### Patches ### - -### Dependencies ### - -Requires: krb5-libs >= 1.11.2 - -### Build Dependencies ### +Requires: krb5-libs.%{?_isa} >= 1.11.2 BuildRequires: autoconf BuildRequires: automake @@ -28,7 +21,6 @@ BuildRequires: doxygen BuildRequires: gettext-devel BuildRequires: pkgconfig BuildRequires: krb5-devel >= 1.11.2 -BuildRequires: findutils BuildRequires: libunistring-devel BuildRequires: openssl-devel @@ -39,32 +31,28 @@ A GSSAPI Mechanism that implements NTLMSSP %prep %setup -q - %build -autoreconf -f -i +autoreconf -fiv %configure \ --disable-static \ --disable-rpath make %{?_smp_mflags} all -make test_gssntlmssp %install -rm -rf %{buildroot} -make install DESTDIR=%{buildroot} +%make_install rm -f %{buildroot}%{_libdir}/gssntlmssp/gssntlmssp.la install -d -m755 %{buildroot}%{_sysconfdir}/gss -install -m644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.ntlmssp - -%clean -rm -rf %{buildroot} +install -pm644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.ntlmssp +%check +make test_gssntlmssp %files -%defattr(-,root,root,-) -%attr(0644,root,root) %config(noreplace) /%{_sysconfdir}/gss/mech.ntlmssp -%{_libdir}/gssntlmssp/gssntlmssp.so +%config(noreplace) %{_sysconfdir}/gss/mech.ntlmssp +%{_libdir}/gssntlmssp/ %{_mandir}/man8/gssntlmssp.8* +%doc COPYING %changelog * Sat Jun 22 2013 Simo Sorce <simo@samba.org> - @PACKAGE_VERSION@-0@PRERELEASE_VERSION@ |