[icedtea-web] Resolves: rhbz#875496
Ville Skyttä
scop at fedoraproject.org
Wed Feb 20 22:23:03 UTC 2013
commit 5a1860a4dcd5e407b482ccec428f6a8a892e50e4
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Thu Feb 21 00:22:45 2013 +0200
Resolves: rhbz#875496
- Build with $RPM_LD_FLAGS and %{_smp_mflags}.
- Run unit tests during build.
icedtea-web.spec | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/icedtea-web.spec b/icedtea-web.spec
index 44da866..639dd18 100644
--- a/icedtea-web.spec
+++ b/icedtea-web.spec
@@ -41,7 +41,7 @@
Name: icedtea-web
Version: 1.3.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Java browser plug-in and Web Start implementation
Group: Applications/Internet
@@ -56,6 +56,7 @@ BuildRequires: desktop-file-utils
BuildRequires: gecko-devel
BuildRequires: glib2-devel
BuildRequires: xulrunner-devel
+BuildRequires: junit4
# For functionality and the OpenJDK dirs
Requires: java-%{javaver}-openjdk
@@ -101,6 +102,7 @@ This package contains Javadocs for the IcedTea-Web project.
%build
autoreconf
+CXXFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS" \
./configure \
--with-pkgversion=fedora-%{release}-%{_arch} \
--docdir=%{_datadir}/javadoc/%{name} \
@@ -109,8 +111,7 @@ autoreconf
--libdir=%{_libdir} \
--program-suffix=%{binsuffix} \
--prefix=%{_prefix}
-
-make CXXFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
@@ -127,6 +128,9 @@ desktop-file-install --vendor ''\
desktop-file-install --vendor ''\
--dir $RPM_BUILD_ROOT%{_datadir}/applications itweb-settings.desktop
+%check
+make check
+
%post
if [ $1 -gt 1 ]
then
@@ -171,6 +175,11 @@ exit 0
%doc COPYING
%changelog
+* Wed Feb 20 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.3.1-5
+- Resolves: rhbz#875496
+- Build with $RPM_LD_FLAGS and %%{_smp_mflags}.
+- Run unit tests during build.
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list