]> git.pld-linux.org Git - packages/nspr.git/blobdiff - nspr.spec
- ashes to ashes, dust to dust
[packages/nspr.git] / nspr.spec
index 46d80ea6c4bc17c1d1258960e2c595f506f604fc..d9afdbe8f80d2939b48940d6a49683d58d59eef4 100644 (file)
--- a/nspr.spec
+++ b/nspr.spec
@@ -1,12 +1,13 @@
 Summary:       Netscape Portable Runtime (NSPR)
 Summary(pl):   Przeno¶ne biblioteki uruchomieniowe Netscape
 Name:          nspr
-Version:       4.2
-Release:       2
+Version:       4.3
+Release:       1
+Epoch:         1
 License:       GPL
 Group:         Libraries
-Source0:       ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
-Patch0:                %{name}-alpha.patch
+Source0:       http://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
+# Source0-md5: df714fd7179508ddd1d2c31abfaa8450
 BuildRequires: autoconf
 Obsoletes:     nspr-pthreads
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,17 +47,17 @@ Statyczna biblioteka NSPR.
 
 %prep
 %setup -q
-%patch -p1
 
 %build
 cd mozilla/nsprpub
 %{__autoconf}
+# don't use "--disable-strip" - it will cause stripping
 %configure \
        --with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
        --with-mozilla \
        --enable-optimize="%{rpmcflags}" \
-       --disable-debug \
-       --enable-strip \
+       --%{?debug:en}%{!?debug:dis}able-debug \
+       %{!?debug:--enable-strip} \
        --with-pthreads \
        --enable-ipv6
 
This page took 0.086665 seconds and 4 git commands to generate.