[maven-jarsigner-plugin] - Introducing NOTICE in the javadoc subpackage - Minor spec file changes according to the latest gui
Jaromír Cápík
jcapik at fedoraproject.org
Tue Dec 11 16:44:38 UTC 2012
commit 74eed3479df2ccf731065095b3cad554ef2902bc
Author: Jaromir Capik <jcapik at redhat.com>
Date: Tue Dec 11 17:44:26 2012 +0100
- Introducing NOTICE in the javadoc subpackage
- Minor spec file changes according to the latest guidelines
maven-jarsigner-plugin.spec | 22 ++++++++--------------
1 files changed, 8 insertions(+), 14 deletions(-)
---
diff --git a/maven-jarsigner-plugin.spec b/maven-jarsigner-plugin.spec
index 8e3be8c..497c500 100644
--- a/maven-jarsigner-plugin.spec
+++ b/maven-jarsigner-plugin.spec
@@ -3,7 +3,7 @@
Name: maven-jarsigner-plugin
Version: 1.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Signs or verifies a project artifact and attachments using jarsigner
License: ASL 2.0
Group: Development/Libraries
@@ -14,16 +14,12 @@ Source0: http://search.maven.org/remotecontent?filepath=org/apache/mave
BuildArch: noarch
BuildRequires: java-devel
-BuildRequires: jpackage-utils
-BuildRequires: maven
+BuildRequires: maven-local
Requires: java
-Requires: jpackage-utils
Requires: maven
Requires: plexus-utils
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
%description
This plugin provides the capability to sign or verify
@@ -61,18 +57,12 @@ install -p -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.
# pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_to_maven_depmap %{group_id} %{name} %{version} JPP %{name}
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
%doc LICENSE NOTICE DEPENDENCIES
%{_javadir}/%{name}.jar
@@ -80,10 +70,14 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%{_mavendepmapfragdir}/%{name}
%files javadoc
-%doc LICENSE
+%doc LICENSE NOTICE
%doc %{_javadocdir}/%{name}
%changelog
+* Tue Dec 11 2012 Jaromir Capik <jcapik at redhat.com> - 1.2-5
+- Introducing NOTICE in the javadoc subpackage
+- Minor spec file changes according to the latest guidelines
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list