Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Berteaud 65760f3e22 Automatic commit of package [c-icap] minor release [0.5.10-3].
Created by command:

/usr/bin/tito tag
2022-02-28 15:49:03 +01:00
Daniel Berteaud 26ce1f4caf Fix spacing issues in spec file 2022-02-28 15:48:50 +01:00
2 changed files with 16 additions and 14 deletions

View File

@ -1 +1 @@
0.5.10-2 ./
0.5.10-3 ./

View File

@ -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