diff --git a/felix-parent.changes b/felix-parent.changes index 6399405..42dd475 100644 --- a/felix-parent.changes +++ b/felix-parent.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 7 07:24:28 UTC 2019 - Fridrich Strba + +- Clean the spec file + ------------------------------------------------------------------- Tue Dec 18 08:51:09 UTC 2018 - Fridrich Strba diff --git a/felix-parent.spec b/felix-parent.spec index 440586e..2eb2f90 100644 --- a/felix-parent.spec +++ b/felix-parent.spec @@ -1,7 +1,7 @@ # # spec file for package felix-parent # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,8 @@ Group: Development/Libraries/Java URL: http://felix.apache.org/ Source0: http://repo1.maven.org/maven2/org/apache/felix/felix-parent/%{version}/%{name}-%{version}-source-release.tar.gz BuildRequires: javapackages-local -Requires: apache-parent +BuildRequires: mvn(org.apache:apache:pom:) +Requires: mvn(org.apache:apache:pom:) BuildArch: noarch %description @@ -39,6 +40,7 @@ Parent POM file for Apache Felix Specs. %pom_remove_plugin org.codehaus.mojo:ianal-maven-plugin %pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :animal-sniffer-maven-plugin +%pom_remove_plugin :maven-enforcer-plugin # wagon ssh dependency unneeded %pom_xpath_remove pom:extensions @@ -52,14 +54,8 @@ install -d -m 755 %{buildroot}%{_mavenpomdir} install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom %add_maven_depmap %{name}-%{version}.pom -a org.apache.felix:felix -%files +%files -f .mfiles %license LICENSE %doc NOTICE -%{_mavenpomdir}/* -%if %{defined _maven_repository} -%{_mavendepmapfragdir}/%{name} -%else -%{_datadir}/maven-metadata/%{name}.xml* -%endif %changelog