[jetty-test-policy] Added missing BR on surefire-provider-junit

Stanislav Ochotnicky sochotni at fedoraproject.org
Tue Nov 8 13:31:56 UTC 2011


commit ac9e3b20a25e29dfe5bc609013de247565ac33de
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Tue Nov 8 14:26:46 2011 +0100

    Added missing BR on surefire-provider-junit

 .gitignore             |    1 +
 jetty-test-policy.spec |   70 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d10e11d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jetty-test-policy-1.2.tar.bz2
diff --git a/jetty-test-policy.spec b/jetty-test-policy.spec
new file mode 100644
index 0000000..e3b9c98
--- /dev/null
+++ b/jetty-test-policy.spec
@@ -0,0 +1,70 @@
+Name:           jetty-test-policy
+Version:        1.2
+Release:        2%{?dist}
+Summary:        Jetty test policy files
+
+Group:          Development/Libraries
+License:        ASL 2.0 or EPL
+URL:            http://www.eclipse.org/jetty/
+Source0:        http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/%{name}-%{version}.tar.bz2
+# rpmlint config file (fedpkg lint will use this)
+#Source1:        .rpmlint
+BuildArch:      noarch
+
+BuildRequires:  jpackage-utils
+BuildRequires:  maven
+BuildRequires:  jetty-toolchain
+BuildRequires:  maven-jar-plugin
+BuildRequires:  maven-surefire-provider-junit
+
+Requires:       maven
+Requires:       jpackage-utils
+Requires:       jetty-toolchain
+
+%description
+Jetty test policy files
+
+%package        javadoc
+Summary:        API documentation for %{name}
+Group:          Documentation
+Requires:       jpackage-utils
+
+%description    javadoc
+%{summary}.
+
+
+%prep
+%setup -q
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+%install
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml \
+    %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+install -Dp -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+# javadoc
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+
+%files
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_javadir}/%{name}.jar
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc %{_javadocdir}/%{name}
+
+%changelog
+* Mon Nov  7 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.2-2
+- Added missing BR on surefire-provider-junit
+
+* Thu Nov  3 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.2-1
+- Initial version of the package
+
diff --git a/sources b/sources
index e69de29..a96fc71 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e36c2a4c3d4daa923755214e343dd7f9  jetty-test-policy-1.2.tar.bz2


More information about the scm-commits mailing list