diff --git a/contrib/spec/openarc.spec.in b/contrib/spec/openarc.spec.in index f53205d0..27c30584 100644 --- a/contrib/spec/openarc.spec.in +++ b/contrib/spec/openarc.spec.in @@ -12,7 +12,7 @@ URL: https://github.com/trusteddomainproject/OpenARC Source0: https://github.com/trusteddomainproject/OpenARC/archive/v%{version}%{?pre_rel:.%pre_rel}/%{name}-%{version}%{?pre_rel:.%pre_rel}.tar.gz -BuildRequires: libtool +BuildRequires: libtool gcc BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(libbsd) @@ -67,11 +67,11 @@ required for developing applications against libopenarc. %build autoreconf --install %configure --disable-static -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} -mkdir -p %{buildroot}%{_sysconfdir} +%make_install +mkdir -p -m 0700 %{buildroot}%{_sysconfdir}/%{name} mkdir -p -m 0700 %{buildroot}%{_localstatedir}/run/%{name} rm -r %{buildroot}%{_prefix}/share/doc/openarc rm %{buildroot}/%{_libdir}/*.la @@ -79,15 +79,20 @@ rm %{buildroot}/%{_libdir}/*.la cat > %{buildroot}%{_sysconfdir}/openarc.conf < %{buildroot}%{_sysconfdir}/%{name}/PeerList <