msimacek pushed to google-gson (master). "Remove dependency on cobertura"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Mar 30 12:38:49 UTC 2015
>From 6855a63db202fa75e26e582a2044f6d0f6d48f5e Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek at redhat.com>
Date: Mon, 30 Mar 2015 14:19:19 +0200
Subject: Remove dependency on cobertura
diff --git a/google-gson.spec b/google-gson.spec
index 15bf86f..fb8e75b 100644
--- a/google-gson.spec
+++ b/google-gson.spec
@@ -4,10 +4,9 @@
Name: google-%{short_name}
Version: 2.2.4
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Java lib for conversion of Java objects into JSON representation
License: ASL 2.0
-Group: Development/Libraries
URL: http://code.google.com/p/%{name}
# request for tarball: http://code.google.com/p/google-gson/issues/detail?id=283
# svn export http://google-gson.googlecode.com/svn/tags/gson-%{version} google-gson-%{version}
@@ -16,15 +15,13 @@ Source0: %{name}-%{version}.tar.xz
BuildArch: noarch
-BuildRequires: java-devel
-BuildRequires: jpackage-utils
-BuildRequires: maven-local
-BuildRequires: maven-surefire-provider-junit
-BuildRequires: maven-plugin-cobertura
-BuildRequires: maven-enforcer-plugin
-BuildRequires: maven-install-plugin
-
-Requires: jpackage-utils
+BuildRequires: maven-local
+BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-eclipse-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-release-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
+BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%description
Gson is a Java library that can be used to convert a Java object into its
@@ -34,8 +31,6 @@ pre-existing objects that you do not have source-code of.
%package javadoc
Summary: API documentation for %{name}
-Group: Documentation
-Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
@@ -60,6 +55,9 @@ sed -i 's/\r//g' LICENSE
%doc LICENSE
%changelog
+* Mon Mar 30 2015 Michael Simacek <msimacek at redhat.com> - 2.2.4-7
+- Remove dependency on cobertura
+
* Tue Jun 10 2014 Severin Gehwolf <sgehwolf at redhat.com> - 2.2.4-6
- Move to xmvn style packaging.
- Fix FTBFS. Resolves RHBZ#1106707.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/google-gson.git/commit/?h=master&id=6855a63db202fa75e26e582a2044f6d0f6d48f5e
More information about the scm-commits
mailing list