forked from pool/maven-native
This commit is contained in:
parent
2d9a236fad
commit
574be1be16
@ -26,10 +26,6 @@ Group: Development/Libraries/Java
|
||||
URL: https://www.mojohaus.org/plugins.html
|
||||
# Source code available @ https://github.com/mojohaus/maven-native
|
||||
Source0: https://repo1.maven.org/maven2/org/codehaus/mojo/natives/%{name}/%{namedversion}/%{name}-%{namedversion}-source-release.zip
|
||||
Source1: plexus_components-bcc.xml
|
||||
Source2: plexus_components-generic-c.xml
|
||||
Source3: plexus_components-manager.xml
|
||||
Source4: plexus_components-msvc.xml
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: unzip
|
||||
@ -106,12 +102,6 @@ sed -i "s|edu.emory.mathcs.backport.java.util.concurrent|java.util.concurrent|"
|
||||
%{mvn_package} ":%{name}-mingw" components
|
||||
%{mvn_package} ":native-maven-plugin" native-maven-plugin
|
||||
|
||||
mkdir -p ./maven-native-components/maven-native-{bcc,generic-c,manager,msvc}/src/main/resources/META-INF/plexus/
|
||||
for CMP in bcc generic-c manager msvc
|
||||
do
|
||||
cp -a %{_sourcedir}/plexus_components-$CMP.xml ./maven-native-components/maven-native-$CMP/src/main/resources/META-INF/plexus/components.xml
|
||||
done
|
||||
|
||||
%build
|
||||
|
||||
%{mvn_build} -f -s -- -Dmojo.java.target=1.7 -Dsource=7
|
||||
|
Loading…
Reference in New Issue
Block a user