Compare commits
2 Commits
c-icap-0.5
...
master
Author | SHA1 | Date |
---|---|---|
Daniel Berteaud | 65760f3e22 | |
Daniel Berteaud | 26ce1f4caf |
|
@ -1 +1 @@
|
|||
0.5.10-2 ./
|
||||
0.5.10-3 ./
|
||||
|
|
28
c-icap.spec
28
c-icap.spec
|
@ -1,7 +1,7 @@
|
|||
Summary: An implementation of an ICAP server
|
||||
Name: c-icap
|
||||
Version: 0.5.10
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPL
|
||||
|
||||
Source0: http://sourceforge.net/projects/c-icap/files/c-icap/0.5.x/c_icap-%{version}.tar.gz
|
||||
|
@ -74,19 +74,18 @@ The %{name}-progs package contains several commandline tools for %{name}.
|
|||
|
||||
%build
|
||||
%configure \
|
||||
CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" \
|
||||
--disable-static \
|
||||
--sysconfdir=%{_sysconfdir}/%{name} \
|
||||
--prefix='' \
|
||||
--with-perl \
|
||||
--with-zlib \
|
||||
--with-bdb \
|
||||
--with-ldap \
|
||||
--enable-large-files
|
||||
CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" \
|
||||
--disable-static \
|
||||
--sysconfdir=%{_sysconfdir}/%{name} \
|
||||
--prefix='' \
|
||||
--with-perl \
|
||||
--with-zlib \
|
||||
--with-bdb \
|
||||
--with-ldap \
|
||||
--enable-large-files
|
||||
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
[ -n "%{buildroot}" -a "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
||||
%{__mkdir_p} %{buildroot}%{_sysconfdir}/logrotate.d
|
||||
|
@ -108,9 +107,9 @@ if ! getent group %{name} >/dev/null 2>&1; then
|
|||
/usr/sbin/groupadd -r %{name}
|
||||
fi
|
||||
if ! getent passwd %{name} >/dev/null 2>&1; then
|
||||
/usr/sbin/useradd -r -g %{name} \
|
||||
/usr/sbin/useradd -r -g %{name} \
|
||||
-d %{_localstatedir}/run/%{name} \
|
||||
-c "C-ICAP Service user" -M \
|
||||
-c "C-ICAP Service user" -M \
|
||||
-s /sbin/nologin %{name}
|
||||
fi
|
||||
exit 0 # Always pass
|
||||
|
@ -193,6 +192,9 @@ exit 0 # Always pass
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 28 2022 Daniel Berteaud <dbd@ehtrace.com> 0.5.10-3
|
||||
- Fix spacing issues in spec file (dbd@ehtrace.com)
|
||||
|
||||
* Tue Jan 11 2022 Daniel Berteaud <dbd@ehtrace.com> 0.5.10-2
|
||||
- Release bump
|
||||
|
||||
|
|
Loading…
Reference in New Issue