[libproxy] - Update to 0.4.5 - Disable mozjs on fedora >= 15

Nicolas Chauvet kwizart at fedoraproject.org
Mon Sep 6 14:57:00 UTC 2010


commit 20f1af4a2cc11e038a57f65889898d9b04d9a85b
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Mon Sep 6 16:58:05 2010 +0200

    - Update to 0.4.5
    - Disable mozjs on fedora >= 15

 .gitignore                         |    1 +
 libproxy-0.4.4-fix_pkgconfig.patch |   13 -------------
 libproxy.spec                      |   20 +++++++++++++-------
 sources                            |    2 +-
 4 files changed, 15 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c02531f..a7c68b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 libproxy-0.4.4.tar.gz
+/libproxy-0.4.5.tar.gz
diff --git a/libproxy.spec b/libproxy.spec
index 0844da5..4106365 100644
--- a/libproxy.spec
+++ b/libproxy.spec
@@ -1,17 +1,19 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %global gecko_version 1.9.2
+%if 0%{?fedora} < 15
+%global _with_mozjs 1
+%endif
 
 Name:           libproxy
-Version:        0.4.4
-Release:        8%{?dist}
+Version:        0.4.5
+Release:        1%{?dist}
 Summary:        A library handling all the details of proxy configuration
 
 Group:          System Environment/Libraries
 License:        LGPLv2+
 URL:            http://code.google.com/p/libproxy/
 Source0:        http://libproxy.googlecode.com/files/libproxy-%{version}.tar.gz
-Patch0:         libproxy-0.4.4-fix_pkgconfig.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  python-devel
@@ -22,7 +24,7 @@ BuildRequires:  cmake >= 2.6.0
 BuildRequires:  GConf2-devel
 BuildRequires:  libXmu-devel
 # mozjs
-BuildRequires:  gecko-devel
+%{?_with_mozjs:BuildRequires:  gecko-devel}
 # NetworkManager
 BuildRequires:  NetworkManager-devel
 BuildRequires:  dbus-devel
@@ -77,6 +79,7 @@ Requires:       %{name} = %{version}-%{release}
 %description    kde
 The %{name}-kde package contains the %{name} plugin for kde.
 
+%{?_with_mozjs:
 %package        mozjs
 Summary:        Plugin for %{name} and mozjs
 Group:          System Environment/Libraries
@@ -87,6 +90,7 @@ Provides:       %{name}-pac = %{version}-%{release}
 
 %description    mozjs
 The %{name}-mozjs package contains the %{name} plugin for mozjs.
+}
 
 %package        networkmanager
 Summary:        Plugin for %{name} and networkmanager
@@ -119,7 +123,6 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
-%patch0 -p1 -b .fix_pc
 
 %build
 %{cmake} \
@@ -169,9 +172,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %{_libdir}/%{name}/%{version}/modules/config_kde4.so
 
+%{?_with_mozjs:
 %files mozjs
 %defattr(-,root,root,-)
 %{_libdir}/%{name}/%{version}/modules/pacrunner_mozjs.so
+}
 
 %files networkmanager
 %defattr(-,root,root,-)
@@ -190,8 +195,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Tue Aug 31 2010 Nicolas Chauvet <kwizart at gmail.com> - 0.4.4-8
-- Rebuild for xulrunner
+* Mon Sep  6 2010 Nicolas Chauvet <kwizart at gmail.com> - 0.4.5-1
+- Update to 0.4.5
+- Disable mozjs on fedora >= 15
 
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.4.4-7
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
diff --git a/sources b/sources
index 4f8b3d6..a669141 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-17b1681a313c2bb161e7cd6c898728f5  libproxy-0.4.4.tar.gz
+3b1ef3886d6b8ca5425b9e4eca9856e3  libproxy-0.4.5.tar.gz


More information about the scm-commits mailing list