- no longer noarch auto/th/maven-3.5.0-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 13 Apr 2017 12:53:02 +0000 (14:53 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 13 Apr 2017 12:53:02 +0000 (14:53 +0200)
- rel 2

maven.spec

index 89ba1cff54fa9661ea2d8209329fdeb654f33620..ff146436865fe1b1019e4c42a0b77f1b9f528d9d 100644 (file)
@@ -10,14 +10,14 @@ Summary:    Java project management and project comprehension tool
 Summary(pl.UTF-8):     Narzędzie do zarządzania projektami Javy ułatwiające ich zrozumienie
 Name:          maven
 Version:       3.5.0
-Release:       1
+Release:       2
 License:       Apache
 Group:         Development/Languages/Java
 Source0:       http://www.apache.org/dist/maven/maven-3/%{version}/binaries/apache-%{name}-%{version}-bin.tar.gz
 # Source0-md5: 35c39251d2af99b6624d40d801f6ff02
 URL:           http://maven.apache.org/
 Requires:      jdk >= 1.7
-BuildArch:     noarch
+ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -57,6 +57,16 @@ install bin/mvn $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
 cp -a bin/m2.conf $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
 cp -a boot conf lib $RPM_BUILD_ROOT%{_datadir}/%{name}
 
+%ifarch %{ix86}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/jansi-native/linux64
+%endif
+
+%ifarch %{x8664}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/jansi-native/linux32
+%endif
+
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/jansi-native/{windows*,osx}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.060595 seconds and 4 git commands to generate.