]> git.pld-linux.org Git - packages/jquery.git/commitdiff
- migrated to apache 2.4 auto/th/jquery-1.8.3-2
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 15 May 2013 18:15:34 +0000 (20:15 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 15 May 2013 18:15:34 +0000 (20:15 +0200)
apache.conf
httpd.conf [new file with mode: 0644]
jquery.spec

index 0610772c723eb31e348f1e75147b60d6f0a96af1..85c687b08517efb51498c65fcfa353b7c076b20d 100644 (file)
@@ -2,13 +2,8 @@ Alias /js/jquery/ /usr/share/jquery/
 # legacy
 Alias /jquery/ /usr/share/jquery/
 <Directory /usr/share/jquery>
-       # Apache 1.3 / 2.0
        <IfModule mod_access.c>
                Allow from all
        </IfModule>
-       # Apache 2.2+
-       <IfModule mod_authz_host.c>
-               Allow from all
-       </IfModule>
        Options +FollowSymLinks
 </Directory>
diff --git a/httpd.conf b/httpd.conf
new file mode 100644 (file)
index 0000000..e05e89f
--- /dev/null
@@ -0,0 +1,9 @@
+Alias /js/jquery/ /usr/share/jquery/
+# legacy
+Alias /jquery/ /usr/share/jquery/
+<Directory /usr/share/jquery>
+       <IfModule mod_authz_host.c>
+               Require all granted
+       </IfModule>
+       Options +FollowSymLinks
+</Directory>
index f9a9b3709fd095dc819a7316a9103d3761ccdd5a..7649ebfe168f06633efabd8821cb3c78add384b4 100644 (file)
@@ -8,7 +8,7 @@ Summary:        jQuery JavaScript Library
 Summary(pl.UTF-8):     Biblioteka JavaScriptu jQuery
 Name:          jquery
 Version:       1.8.3
-Release:       1
+Release:       2
 License:       MIT
 Group:         Applications/WWW
 Source0:       http://code.jquery.com/%{name}-%{version}.min.js
@@ -17,6 +17,7 @@ Source10:     http://code.jquery.com/%{name}-%{version}.js
 # Source10-md5:        b25b0460d7ddea993dad32005f56d255
 Source11:      apache.conf
 Source12:      lighttpd.conf
+Source13:      httpd.conf
 Source1:       http://plugins.jquery.com/files/%{name}.field.%{field_ver}.zip
 # Source1-md5: 1bd5d766f79034904a07ddbbab5cb27a
 Source3:       http://marcgrabanski.com/code/ui-datepicker/core/core.ui.datepicker.zip
@@ -28,6 +29,7 @@ BuildRequires:        rpmbuild(macros) >= 1.553
 BuildRequires: unzip
 Requires:      webserver(alias)
 Suggests:      webserver(access)
+Conflicts:     apache-base < 2.4.0-1
 Conflicts:     jquery-ui < 1.8.22
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -90,7 +92,7 @@ cp -p ui.datepicker.{js,css} $RPM_BUILD_ROOT%{_appdir}/plugins
 install -d $RPM_BUILD_ROOT%{_sysconfdir}
 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 cp -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
-cp -p $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
+cp -p %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -101,10 +103,10 @@ rm -rf $RPM_BUILD_ROOT
 %triggerun -- apache1 < 1.3.37-3, apache1-base
 %webapp_unregister apache %{_webapp}
 
-%triggerin -- apache < 2.2.0, apache-base
+%triggerin -- apache-base
 %webapp_register httpd %{_webapp}
 
-%triggerun -- apache < 2.2.0, apache-base
+%triggerun -- apache-base
 %webapp_unregister httpd %{_webapp}
 
 %triggerin -- lighttpd
This page took 0.174182 seconds and 4 git commands to generate.