Jelajahi Sumber

fix packaging (thanks to Thomas Rohde)

Ralf S. Engelschall 24 tahun lalu
induk
melakukan
e4e6ef77e9
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      portsentry/portsentry.spec

+ 4 - 4
portsentry/portsentry.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
 Group:        Security
 License:      Open Source
 Version:      1.1
-Release:      20020206
+Release:      20020722
 
 #   list of sources
 Source0:      http://www.psionic.com/downloads/portsentry-%{version}.tar.gz
@@ -57,9 +57,9 @@ AutoReqProv:  no
 
 %build
     %{l_shtool} subst \
-        -e 's;^\(.*CONFIG_FILE.*"\)[^"]*\("\);%{l_prefix}/etc/portsentry/portsentry.conf;' \
-        -e 's;^\(.*WRAPPER_HOSTS_DENY.*"\)[^"]*\("\);%{l_prefix}/etc/portsentry/portsentry.deny;' \
-        portsentry_conf.h
+        -e 's;^\(.*CONFIG_FILE.*"\)[^"]*\("\);\1%{l_prefix}/etc/portsentry/portsentry.conf\2;' \
+        -e 's;^\(.*WRAPPER_HOSTS_DENY.*"\)[^"]*\("\);\1%{l_prefix}/etc/portsentry/portsentry.deny\2;' \
+        portsentry_config.h
     %{l_shtool} subst \
         -e 's;/usr/local/psionic/portsentry/;%{l_prefix}/etc/portsentry/;g' \
         portsentry.conf