This commit is contained in:
parent
df4d726f8d
commit
acd9bf0a20
@ -25,7 +25,7 @@ Group: Development/Libraries/Java
|
|||||||
URL: http://felix.apache.org/
|
URL: http://felix.apache.org/
|
||||||
Source0: http://repo1.maven.org/maven2/org/apache/felix/felix-parent/%{version}/%{name}-%{version}-source-release.tar.gz
|
Source0: http://repo1.maven.org/maven2/org/apache/felix/felix-parent/%{version}/%{name}-%{version}-source-release.tar.gz
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
Requires: apache-parent
|
BuildRequires: mvn(org.apache:apache:pom:)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,14 +52,8 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|||||||
install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
|
install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
|
||||||
%add_maven_depmap %{name}-%{version}.pom -a org.apache.felix:felix
|
%add_maven_depmap %{name}-%{version}.pom -a org.apache.felix:felix
|
||||||
|
|
||||||
%files
|
%files -f .mfiles
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NOTICE
|
%doc NOTICE
|
||||||
%{_mavenpomdir}/*
|
|
||||||
%if %{defined _maven_repository}
|
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
%else
|
|
||||||
%{_datadir}/maven-metadata/%{name}.xml*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user