commit 3a4e24eea9f76647ceff4d0af2a44dccd69a8871
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Fri Nov 2 18:25:58 2012 +0100
Add missing BR/R: apache-parent
- Update to current packaging guidelines
maven-parent.spec | 30 +++++++++++++-----------------
1 files changed, 13 insertions(+), 17 deletions(-)
---
diff --git a/maven-parent.spec b/maven-parent.spec
index 0606357..1b7cb45 100644
--- a/maven-parent.spec
+++ b/maven-parent.spec
@@ -1,20 +1,20 @@
Name: maven-parent
Version: 20
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Apache Maven parent POM
Group: Development/Libraries
License: ASL 2.0
URL:
http://maven.apache.org
Source0:
http://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}...
-
BuildArch: noarch
-BuildRequires: jpackage-utils >= 0:1.7.5-5
+BuildRequires: jpackage-utils
+BuildRequires: maven
+BuildRequires: apache-parent
-Requires: jpackage-utils
-Requires(post): jpackage-utils >= 0:1.7.5-5
-Requires(postun): jpackage-utils >= 0:1.7.5-5
+Requires: jpackage-utils
+Requires: apache-parent
%description
Apache Maven parent POM file used by other Maven projects.
@@ -22,29 +22,25 @@ Apache Maven parent POM file used by other Maven projects.
%prep
%setup -q
-%build
-#nothing to do for the pom
+%check
+mvn-rpmbuild verify
%install
# poms
install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml \
- %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-
+install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
%doc LICENSE NOTICE
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
%changelog
+* Fri Nov 2 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 20-4
+- Add missing BR/R: apache-parent
+- Update to current packaging guidelines
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
20-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild