[javapackages] Prep for release 4.3.2
by Michal Srb
commit c08a39a06f930eb09a2e8312ed30b6c6e005c45b
Author: Michal Srb <msrb(a)redhat.com>
Date: Mon Jan 5 17:48:06 2015 +0100
Prep for release 4.3.2
VERSION | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/VERSION b/VERSION
index 99fc609..cc2fbe8 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.4.0-SNAPSHOT
+4.3.2
9 years, 4 months
[Bug 1171898] New: maven_depmap.py does not create correct directory ownership for installed poms
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1171898
Bug ID: 1171898
Summary: maven_depmap.py does not create correct directory
ownership for installed poms
Product: Fedora
Version: rawhide
Component: javapackages-tools
Severity: medium
Assignee: mizdebsk(a)redhat.com
Reporter: orion(a)cora.nwra.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)redhat.com, mizdebsk(a)redhat.com,
msimacek(a)redhat.com, msrb(a)redhat.com
Description of problem:
maven_depmap.py does not record the directory that a pom is installed into,
resulting in lots of unowned directories in /usr/share/maven-poms:
file /usr/share/maven-poms/slf4j is not owned by any package
file /usr/share/maven-poms/sonatype-oss-parent is not owned by any package
file /usr/share/maven-poms/spice-parent is not owned by any package
Version-Release number of selected component (if applicable):
javapackages-tools-4.2.0-8.fc22.noarch
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=KtquFJYoP9&a=cc_unsubscribe
9 years, 4 months
[apache-commons-math/f20] Updato to 3.4
by Mohamed ElMorabity
commit 254f4e69246abc0369f1231860f1fcf62da90e6e
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Jan 5 14:23:10 2015 +0100
Updato to 3.4
.gitignore | 1 +
apache-commons-math.spec | 25 +++++++++++++++++++++++--
sources | 2 +-
3 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8327c48..ac88397 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ commons-math-2.0-src.tar.gz
/commons-math3-3.1-src.tar.gz
/commons-math3-3.1.1-src.tar.gz
/commons-math3-3.2-src.tar.gz
+/commons-math3-3.4-src.tar.gz
diff --git a/apache-commons-math.spec b/apache-commons-math.spec
index 257806f..c36f2cb 100644
--- a/apache-commons-math.spec
+++ b/apache-commons-math.spec
@@ -1,8 +1,8 @@
%global short_name commons-math3
Name: apache-commons-math
-Version: 3.2
-Release: 3%{?dist}
+Version: 3.4
+Release: 1%{?dist}
Summary: Java library of lightweight mathematics and statistics components
Group: Development/Libraries
License: ASL 1.1 and ASL 2.0 and BSD
@@ -12,6 +12,9 @@ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: maven-local
+%if 0%{?fedora} >= 21
+BuildRequires: mvn(org.jacoco:jacoco-maven-plugin) >= 0.7.0
+%endif
Requires: java >= 1:1.6.0
Requires: jpackage-utils
BuildArch: noarch
@@ -21,6 +24,7 @@ Commons Math is a library of lightweight, self-contained mathematics and
statistics components addressing the most common problems not available in the
Java programming language or Commons Lang.
+
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation
@@ -28,6 +32,7 @@ Group: Documentation
%description javadoc
This package contains the API documentation for %{name}.
+
%prep
%setup -q -n %{short_name}-%{version}-src
@@ -35,19 +40,35 @@ This package contains the API documentation for %{name}.
%mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}"
%mvn_file :%{short_name} %{short_name} %{name}
+# Disable Jacoco Maven plugin for Fedora releases having jacoco < 0.7.0
+%if 0%{?fedora} < 21
+rm src/site/resources/profile.jacoco
+%endif
+
+# Disable maven-jgit-buildnumber-plugin plugin (not available in Fedora)
+%pom_remove_plugin ru.concerteza.buildnumber:maven-jgit-buildnumber-plugin
+
+
%build
%mvn_build
+
%install
%mvn_install
+
%files -f .mfiles
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
+
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
+
%changelog
+* Mon Jan 05 2015 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 3.4-1
+- Update to 3.4
+
* Tue Aug 06 2013 Mat Booth <fedora(a)matbooth.co.uk> - 3.2-3
- Update for newer guidelines
diff --git a/sources b/sources
index b5b48c3..1393006 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a44e9b189fbf53e06f75cb6728c3642a commons-math3-3.2-src.tar.gz
+5d8d61a4531f9c5f78f44349e5abe935 commons-math3-3.4-src.tar.gz
9 years, 4 months
[apache-commons-math/f21] Update to 3.4
by Mohamed ElMorabity
commit 6498d60aa3b28be87bfa8ced3e892e0c1b6a049a
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Jan 5 14:17:01 2015 +0100
Update to 3.4
.gitignore | 1 +
apache-commons-math.spec | 16 +++++++++++++---
sources | 2 +-
3 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 256582e..274ac31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ commons-math-2.0-src.tar.gz
/commons-math3-3.1.1-src.tar.gz
/commons-math3-3.2-src.tar.gz
/commons-math3-3.3-src.tar.gz
+/commons-math3-3.4-src.tar.gz
diff --git a/apache-commons-math.spec b/apache-commons-math.spec
index d8cb707..603d6a5 100644
--- a/apache-commons-math.spec
+++ b/apache-commons-math.spec
@@ -1,7 +1,7 @@
%global short_name commons-math3
Name: apache-commons-math
-Version: 3.3
+Version: 3.4
Release: 1%{?dist}
Summary: Java library of lightweight mathematics and statistics components
Group: Development/Libraries
@@ -12,6 +12,9 @@ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: maven-local
+%if 0%{?fedora} >= 21
+BuildRequires: mvn(org.jacoco:jacoco-maven-plugin) >= 0.7.0
+%endif
Requires: jpackage-utils
BuildArch: noarch
@@ -36,9 +39,13 @@ This package contains the API documentation for %{name}.
%mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}"
%mvn_file :%{short_name} %{short_name} %{name}
-# Disable Jacoco Maven plugin until a suitable version is available in Fedora
-# (0.7.0)
+# Disable Jacoco Maven plugin for Fedora releases having jacoco < 0.7.0
+%if 0%{?fedora} < 21
rm src/site/resources/profile.jacoco
+%endif
+
+# Disable maven-jgit-buildnumber-plugin plugin (not available in Fedora)
+%pom_remove_plugin ru.concerteza.buildnumber:maven-jgit-buildnumber-plugin
%build
@@ -58,6 +65,9 @@ rm src/site/resources/profile.jacoco
%changelog
+* Mon Jan 05 2015 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 3.4-1
+- Update to 3.4
+
* Fri Jun 13 2014 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 3.3-1
- Update to 3.3
- Drop apache-commons-math-3.2-RHBZ1084441.patch (fixed in 3.3)
diff --git a/sources b/sources
index 79288f3..1393006 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8156da5ce35c4c963aecfdad919950a commons-math3-3.3-src.tar.gz
+5d8d61a4531f9c5f78f44349e5abe935 commons-math3-3.4-src.tar.gz
9 years, 4 months
[apache-commons-math] Update to 3.4
by Mohamed ElMorabity
commit 977e66e371f249875a99880eb77bc84ef6d933e5
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Jan 5 14:17:01 2015 +0100
Update to 3.4
.gitignore | 1 +
apache-commons-math.spec | 16 +++++++++++++---
sources | 2 +-
3 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 256582e..274ac31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ commons-math-2.0-src.tar.gz
/commons-math3-3.1.1-src.tar.gz
/commons-math3-3.2-src.tar.gz
/commons-math3-3.3-src.tar.gz
+/commons-math3-3.4-src.tar.gz
diff --git a/apache-commons-math.spec b/apache-commons-math.spec
index d8cb707..603d6a5 100644
--- a/apache-commons-math.spec
+++ b/apache-commons-math.spec
@@ -1,7 +1,7 @@
%global short_name commons-math3
Name: apache-commons-math
-Version: 3.3
+Version: 3.4
Release: 1%{?dist}
Summary: Java library of lightweight mathematics and statistics components
Group: Development/Libraries
@@ -12,6 +12,9 @@ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: maven-local
+%if 0%{?fedora} >= 21
+BuildRequires: mvn(org.jacoco:jacoco-maven-plugin) >= 0.7.0
+%endif
Requires: jpackage-utils
BuildArch: noarch
@@ -36,9 +39,13 @@ This package contains the API documentation for %{name}.
%mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}"
%mvn_file :%{short_name} %{short_name} %{name}
-# Disable Jacoco Maven plugin until a suitable version is available in Fedora
-# (0.7.0)
+# Disable Jacoco Maven plugin for Fedora releases having jacoco < 0.7.0
+%if 0%{?fedora} < 21
rm src/site/resources/profile.jacoco
+%endif
+
+# Disable maven-jgit-buildnumber-plugin plugin (not available in Fedora)
+%pom_remove_plugin ru.concerteza.buildnumber:maven-jgit-buildnumber-plugin
%build
@@ -58,6 +65,9 @@ rm src/site/resources/profile.jacoco
%changelog
+* Mon Jan 05 2015 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 3.4-1
+- Update to 3.4
+
* Fri Jun 13 2014 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 3.3-1
- Update to 3.3
- Drop apache-commons-math-3.2-RHBZ1084441.patch (fixed in 3.3)
diff --git a/sources b/sources
index 79288f3..1393006 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8156da5ce35c4c963aecfdad919950a commons-math3-3.3-src.tar.gz
+5d8d61a4531f9c5f78f44349e5abe935 commons-math3-3.4-src.tar.gz
9 years, 4 months
[javapackages] [maven.req] Take SCL into account when working with POM deps
by Michal Srb
commit 4fb1f4b27e137324caddf494ca56f06c93edf18f
Author: Michal Srb <msrb(a)redhat.com>
Date: Mon Jan 5 11:48:41 2015 +0100
[maven.req] Take SCL into account when working with POM deps
depgenerators/maven.req | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/depgenerators/maven.req b/depgenerators/maven.req
index ffe900c..48af617 100755
--- a/depgenerators/maven.req
+++ b/depgenerators/maven.req
@@ -273,7 +273,8 @@ class TagBuilder(object):
pom_requires = set()
for i, r in enumerate(results):
dep = MetadataDependency(deps[i].groupId, deps[i].artifactId,
- requestedVersion=deps[i].version)
+ requestedVersion=deps[i].version,
+ namespace=rpmconf.scl or "")
dver = dep.is_provided_by(self.provided_artifacts)[1]
if dver is not None:
if not dep.is_provided_by(pkg_arts)[0]:
@@ -298,7 +299,8 @@ class TagBuilder(object):
req = ResolutionRequest(pgid, paid, extension="pom")
r = XMvnResolve.process_raw_request([req])[0]
- dep = MetadataDependency(pgid, paid, requestedVersion=pver, extension="pom")
+ dep = MetadataDependency(pgid, paid, requestedVersion=pver,
+ extension="pom", namespace=rpmconf.scl or "")
dver = dep.is_provided_by(self.provided_artifacts)[1]
if dver is not None:
9 years, 4 months