Commit 4d932787 authored by Chauvet Nicolas's avatar Chauvet Nicolas

Additional clean-up on modern distros - #1260

Signed-off-by: Chauvet Nicolas's avatarNicolas Chauvet <kwizart@gmail.com>
parent e0d0f06a
......@@ -62,7 +62,6 @@ Summary: LemonLDAP-NG WebSSO
License: GPL v2
URL: http://lemonldap-ng.org
Source0: http://lemonldap-ng.org/download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildArch: noarch
BuildRequires: perl(Apache::Session)
......@@ -285,8 +284,6 @@ chmod +x %{__perl_requires}
# Installation
#============================================================================
%install
rm -rf %{buildroot}
%{__make} %{?_smp_mflags} install \
DESTDIR=%{buildroot} \
PREFIX=%{lm_prefix} \
......@@ -422,9 +419,6 @@ if [ $1 -eq 1 ] ; then
rm -f %{apache_confdir}/z-lemonldap-ng.conf 2>&1 > /dev/null || :
fi
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment