Remove build-dependency on maven-source-plugin

This commit is contained in:
Mikolaj Izdebski 2016-10-13 11:54:35 +02:00
parent 47ef7f780a
commit c8631676d6

View File

@ -2,7 +2,7 @@
Name: felix-utils
Version: 1.8.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Utility classes for OSGi
License: ASL 2.0
URL: http://felix.apache.org
@ -12,7 +12,6 @@ Source0: http://repo1.maven.org/maven2/org/apache/felix/%{bundle}/%{versi
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:felix-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.osgi:org.osgi.compendium)
BuildRequires: mvn(org.osgi:org.osgi.core)
@ -30,6 +29,8 @@ This package contains the API documentation for %{name}.
# Remove compiler plugin so default target is used instead of 1.5
%pom_remove_plugin :maven-compiler-plugin
# We don't use source JARs
%pom_remove_plugin :maven-source-plugin
# Remove rat plugin that is not in Fedora
%pom_remove_plugin org.codehaus.mojo:rat-maven-plugin
@ -49,6 +50,9 @@ This package contains the API documentation for %{name}.
%license LICENSE NOTICE
%changelog
* Thu Oct 13 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.2-4
- Remove build-dependency on maven-source-plugin
* Thu Jun 16 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.2-3
- Regenerate build-requires
- Update to current packaging guidelines