From 901dc2ee70ed01a4ba0c628463433a021f7106f5 Mon Sep 17 00:00:00 2001 From: Pavel Alexeev (aka Pahan-Hubbitus) Date: Aug 24 2013 14:56:49 +0000 Subject: Reflect docdir changes (bz#993928) --- diff --git a/RabbIT.spec b/RabbIT.spec index e1f6c02..fde0055 100644 --- a/RabbIT.spec +++ b/RabbIT.spec @@ -1,8 +1,10 @@ Name: RabbIT -%define lname %( echo %{name} | tr 'A-Z' 'a-z' ) +%global lname %( echo %{name} | tr 'A-Z' 'a-z' ) + +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Version: 4.1 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Proxy for a faster web Summary(ru): Прокси для быстрого серфинга в ВЕБе #By example of squid @@ -31,16 +33,16 @@ Requires(postun): /usr/sbin/userdel BuildArchitectures: noarch %description -RabbIT is a web proxy that speeds up web surfing over slow links by doing: - o Compress text pages to gzip streams. This reduces size by up to 75% - o Compress images to 10% jpeg. This reduces size by up to 95% - o Remove advertising - o Remove background images - o Cache filtered pages and images - o Uses keepalive if possible - o Easy and powerful configuration - o Multi threaded solution written in java - o Modular and easily extended +RabbIT is a web proxy that speeds up web surfing over slow links by doing: + o Compress text pages to gzip streams. This reduces size by up to 75% + o Compress images to 10% jpeg. This reduces size by up to 95% + o Remove advertising + o Remove background images + o Cache filtered pages and images + o Uses keepalive if possible + o Easy and powerful configuration + o Multi threaded solution written in java + o Modular and easily extended o Complete HTTP/1.1 compliance %description -l ru @@ -116,7 +118,7 @@ install -m644 conf/users %{buildroot}/%{_sysconfdir}/%{name}/ %pre # Add the "rabbit" user -/usr/sbin/useradd -c "%{lname}" -s /sbin/nologin -r -d "%{_docdir}/%{name}-%{version}" %{lname} 2> /dev/null || : +/usr/sbin/useradd -c "%{lname}" -s /sbin/nologin -r -d "%{_pkgdocdir}/%{name}-%{version}" %{lname} 2> /dev/null || : %post # Register service @@ -152,6 +154,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/%{name}/users %changelog +* Sat Aug 24 2013 Pavel Alexeev - 4.1-15 +- Reflect docdir changes (bz#993928). + * Fri Aug 02 2013 Fedora Release Engineering - 4.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild