Search
j0ke.net Open Build Service
>
Projects
>
ha
:
uplex
>
varnish2
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
varnish.spec
@@ -1,5 +1,9 @@ # norootforbuild %define pversion 2.0.3_VSLP +^%define pkguser uplex +$define pkggrp uplex + + Name: varnish Provides: varnish-uplex = %{version}.%{release} Version: 2.0.3 @@ -149,8 +153,8 @@ %{__rm} -rf %{buildroot} %pre -/usr/sbin/groupadd -r %{pkg_name} &>/dev/null ||: -/usr/sbin/useradd -g %{pkg_name} -s /bin/false -r -c "user for %{pkg_name}" -d %{pkg_home} %{pkg_name} &>/dev/null ||: +/usr/sbin/groupadd -r %{pkguser} &>/dev/null ||: +/usr/sbin/useradd -g %{pkggrp} -s /bin/false -r -c "user for %{pkg_name}" -d %{pkg_home} %{pkg_name} &>/dev/null ||: %if 0%{?suse_version} %post @@ -180,10 +184,10 @@ %endif %config(noreplace) %{_sysconfdir}/init.d/%{name} # -%dir %attr(750,%{pkg_name},%{pkg_name}) %{_sysconfdir}/%{name}/ -%config(noreplace) %attr(640,%{pkg_name},%{pkg_name}) %{_sysconfdir}/%{name}/default.vcl -%config %attr(640,%{pkg_name},%{pkg_name}) %{_sysconfdir}/%{name}/default.vcl.example -%dir %attr(750,%{pkg_name},%{pkg_name}) %{_var}/run/%{name}/ +%dir %attr(750,%{pkggrp},%{pkggrp}) %{_sysconfdir}/%{name}/ +%config(noreplace) %attr(640,%{pkggrp},%{pkggrp}) %{_sysconfdir}/%{name}/default.vcl +%config %attr(640,%{pkggrp},%{pkggrp}) %{_sysconfdir}/%{name}/default.vcl.example +%dir %attr(750,%{pkggrp},%{pkggrp}) %{_var}/run/%{name}/ # %{_sbindir}/varnishd %{_sbindir}/varnishhist @@ -208,8 +212,8 @@ %if ! 0%{?suse_version} %doc redhat/README.redhat %endif -%dir %attr(750,%{pkg_name},%{pkg_name}) %{pkg_home} -%dir %attr(750,%{pkg_name},%{pkg_name}) %{pkg_cachedir} +%dir %attr(750,%{pkggrp},%{pkggrp}) %{pkg_home} +%dir %attr(750,%{pkggrp},%{pkggrp}) %{pkg_cachedir} %config /etc/logrotate.d/varnish %files -n libvarnish1