#1 Add junit plugin as dependency as test scope
Merged a year ago by dmoluguw. Opened a year ago by dmoluguw.
rpms/ dmoluguw/felix-shell master  into  master

file modified
+10 -3
@@ -2,11 +2,11 @@ 

  

  Name:           felix-shell

  Version:        1.4.3

- Release:        16%{?dist}

+ Release:        17%{?dist}

  Summary:        Apache Felix Shell Service

  License:        ASL 2.0

- URL:            http://felix.apache.org

- Source0:        http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz

+ URL:            https://felix.apache.org

+ Source0:        https://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz

  

  BuildArch: noarch

  
@@ -15,6 +15,7 @@ 

  BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)

  BuildRequires:  mvn(org.osgi:osgi.cmpn)

  BuildRequires:  mvn(org.osgi:osgi.core)

+ BuildRequires:  mvn(junit:junit)

  

  %description

  A simple OSGi command shell service.
@@ -34,6 +35,9 @@ 

  %pom_change_dep :org.osgi.core org.osgi:osgi.core

  %pom_change_dep :org.osgi.compendium org.osgi:osgi.cmpn

  

+ # To run tests

+ %pom_add_dep junit:junit::test

+ 

  %mvn_file :%{bundle} "felix/%{bundle}"

  

  %build
@@ -49,6 +53,9 @@ 

  %license LICENSE NOTICE

  

  %changelog

+ * Mon Apr 27 2020 Dinesh Prasanth M K <dmoluguw@redhat.com> - 1.4.3-17

+ - Add junit dependency for running tests

+ 

  * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-16

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

This patch:

  • Adds junit dependency with "test" scope. This is because update tofelix-parent breaks this package.
  • Update source and URL to https

Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>

This patch includes a minor change and is safe to be merged before other felix-* PRs.

COPR Build: https://copr.fedorainfracloud.org/coprs/dmoluguw/felix-shell/builds/

rebased onto 159ad58

a year ago

Pull-Request has been merged by dmoluguw

a year ago