]> git.pld-linux.org Git - packages/apache1-mod_auth_samba.git/commitdiff
- mv apache{,1}-*, release 1 auto/ac/apache1-mod_auth_samba-1_1-1
authorradek <radek@pld-linux.org>
Sun, 29 Aug 2004 19:28:46 +0000 (19:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_auth_samba.spec -> 1.28

apache1-mod_auth_samba.spec

index af68de15c657358578505849e7227ac29d25120e..fd54d2377020b57c1887b1fbd0d4f997640af081 100644 (file)
@@ -1,10 +1,10 @@
 %define                mod_name        auth_samba
-%define        apxs    /usr/sbin/apxs
+%define        apxs    /usr/sbin/apxs1
 Summary:       This is the samba authentication module for Apache
 Summary(pl):   Modu³ uwierzytelnienia samba dla Apache
-Name:          apache-mod_%{mod_name}
+Name:          apache1-mod_%{mod_name}
 Version:       1.1
-Release:       6
+Release:       1
 Epoch:         1
 License:       GPL
 Group:         Networking/Daemons
@@ -13,13 +13,14 @@ Source0:    http://dl.sourceforge.net/modauthsamba/mod_%{mod_name}-%{version}.tar.g
 Patch0:                %{name}-symbol_fix.patch
 URL:           http://modauthsamba.sourceforge.net/
 BuildRequires: %{apxs}
-BuildRequires: apache(EAPI)-devel
+BuildRequires: apache1-devel
 BuildRequires: gdbm-devel
 BuildRequires: pam-devel
 BuildRequires: pam-pam_smb
 Requires(post,preun):  %{apxs}
-Requires:      apache(EAPI)
+Requires:      apache1
 Requires:      pam-pam_smb
+Obsoletes:     apache-mod_%{mod_name} <= %{epoch}:%{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
@@ -51,15 +52,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
-if [ -f /var/lock/subsys/httpd ]; then
-       /etc/rc.d/init.d/httpd restart 1>&2
+if [ -f /var/lock/subsys/apache ]; then
+       /etc/rc.d/init.d/apache restart 1>&2
 fi
 
 %preun
 if [ "$1" = "0" ]; then
        %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
-       if [ -f /var/lock/subsys/httpd ]; then
-               /etc/rc.d/init.d/httpd restart 1>&2
+       if [ -f /var/lock/subsys/apache ]; then
+               /etc/rc.d/init.d/apache restart 1>&2
        fi
 fi
 
This page took 0.029433 seconds and 4 git commands to generate.