public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Alexander Kurtakov <akurtako@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/google-gson] epel10: Add missing BR on maven-enforcer-plugin.
Date: Mon, 17 Aug 2026 12:38:39 GMT [thread overview]
Message-ID: <178697031991.1.1175602102194602593.rpms-google-gson-27b31d0e0576@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/google-gson
Branch : epel10
Commit : 27b31d0e0576caa4b553f796daa73c785a053a39
Author : Alexander Kurtakov <akurtako@redhat.com>
Date : 2012-07-02T23:09:21+03:00
Stats : +7/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/google-gson/c/27b31d0e0576caa4b553f796daa73c785a053a39?branch=epel10
Log:
Add missing BR on maven-enforcer-plugin.
- Remove no longer needed parts of the spec.
---
diff --git a/google-gson.spec b/google-gson.spec
index 7a25907..aeabf74 100644
--- a/google-gson.spec
+++ b/google-gson.spec
@@ -4,7 +4,7 @@
Name: google-%{short_name}
Version: 2.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Java lib for conversion of Java objects into JSON representation
License: ASL 2.0
Group: Development/Libraries
@@ -22,11 +22,10 @@ BuildRequires: java-devel
BuildRequires: jpackage-utils
BuildRequires: maven
BuildRequires: maven-plugin-cobertura
+BuildRequires: maven-enforcer-plugin
Requires: java
Requires: jpackage-utils
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
%description
Gson is a Java library that can be used to convert a Java object into its
@@ -62,18 +61,12 @@ install -p -m 644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{
# pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_to_maven_depmap %{group_id} %{short_name} %{version} JPP %{name}
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
%doc LICENSE README
%{_javadir}/%{name}.jar
@@ -85,6 +78,10 @@ cp -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%doc %{_javadocdir}/%{name}
%changelog
+* Mon Jul 2 2012 Alexander Kurtakov <akurtako@redhat.com> 2.2.1-2
+- Add missing BR on maven-enforcer-plugin.
+- Remove no longer needed parts of the spec.
+
* Mon Jul 2 2012 Krzysztof Daniel <kdaniel@redhat.com> 2.2.1-1
- Update to latest upstream 2.2.1
reply other threads:[~2026-08-17 12:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178697031991.1.1175602102194602593.rpms-google-gson-27b31d0e0576@fedoraproject.org \
--to=akurtako@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox