]> git.pld-linux.org Git - packages/cups.git/commitdiff
fixed migration regexp (do not match prefixes like in PageLogFormat)
authorTomasz Pala <gotar@pld-linux.org>
Sun, 3 May 2015 22:55:29 +0000 (00:55 +0200)
committerTomasz Pala <gotar@pld-linux.org>
Sun, 3 May 2015 22:55:29 +0000 (00:55 +0200)
cups.spec

index 7f465be1ee23a0e6b02cf2c9a4a1177194e39a39..23375c63d925430f9b088505dc3766fa1bc15fa6 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -48,8 +48,8 @@ URL:          http://www.cups.org/
 BuildRequires: acl-devel
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
-%{?with_dnssd:BuildRequires:    avahi-compat-libdns_sd-devel}
-%{?with_avahi:BuildRequires: avahi-devel}
+%{?with_dnssd:BuildRequires:   avahi-compat-libdns_sd-devel}
+%{?with_avahi:BuildRequires:   avahi-devel}
 BuildRequires: dbus-devel
 BuildRequires: glibc-headers
 %{?with_gnutls:BuildRequires:  gnutls-devel}
@@ -367,7 +367,7 @@ FileDevice\|FontPath\|Group\|LogFilePerm\|\
 LPDConfigFile\|PageLog\|Printcap\|PrintcapFormat\|\
 RemoteRoot\|RequestRoot\|ServerBin\|ServerCertificate\|\
 ServerKey\|ServerRoot\|SMBConfigFile\|StateDir\|\
-SystemGroup\|SystemGroupAuthKey\|TempDir\|User\)"
+SystemGroup\|SystemGroupAuthKey\|TempDir\|User\)\b"
 if [ -f %{_sysconfdir}/cups/cupsd.conf ] && grep -iq "$_keywords" %{_sysconfdir}/cups/cupsd.conf; then
        echo "# Settings automatically moved from cupsd.conf by RPM package:" >> %{_sysconfdir}/cups/cups-files.conf
        grep -i "$_keywords" %{_sysconfdir}/cups/cupsd.conf >> %{_sysconfdir}/cups/cups-files.conf || :
@@ -400,7 +400,7 @@ fi
 %service -q rc-inetd reload
 
 %postun lpd
-if [ "$1" = 0 ]; then
+if [ "$1" = "0" ]; then
        %service -q rc-inetd reload
 fi
 
This page took 0.126315 seconds and 4 git commands to generate.