rpms/jna/devel import.log,1.2,1.3 jna.spec,1.24,1.25

Levente Farkas lfarkas at fedoraproject.org
Thu Jul 22 21:17:12 UTC 2010


Author: lfarkas

Update of /cvs/pkgs/rpms/jna/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv30788/devel

Modified Files:
	import.log jna.spec 
Log Message:
Temporary hack for 64bit build



Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/jna/devel/import.log,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- import.log	22 Jul 2010 09:58:03 -0000	1.2
+++ import.log	22 Jul 2010 21:17:11 -0000	1.3
@@ -1,2 +1,3 @@
 jna-3_2_4-1_el5:HEAD:jna-3.2.4-1.el5.src.rpm:1259001126
 jna-3_2_7-1_fc12:HEAD:jna-3.2.7-1.fc12.src.rpm:1279792606
+jna-3_2_7-2_fc12:HEAD:jna-3.2.7-2.fc12.src.rpm:1279833400


Index: jna.spec
===================================================================
RCS file: /cvs/pkgs/rpms/jna/devel/jna.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -r1.24 -r1.25
--- jna.spec	22 Jul 2010 09:58:03 -0000	1.24
+++ jna.spec	22 Jul 2010 21:17:11 -0000	1.25
@@ -1,6 +1,6 @@
 Name:           jna
 Version:        3.2.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Pure Java access to native libraries
 
 Group:          Development/Libraries
@@ -99,7 +99,12 @@ chmod 0644 LICENSE.txt
 %build
 # We pass -Ddynlink.native which comes from our patch because
 # upstream doesn't want to default to dynamic linking.
-ant -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true -Dnomixedjar.native=true jar javadoc
+ant -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true -Dnomixedjar.native=true jar
+# dirty 64bit hack
+%ifarch x86_64
+ln -s build-d64 build
+%endif
+ant -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true -Dnomixedjar.native=true javadoc
 # remove compiled contribs
 find contrib -name build -delete || :
 sed -i "s/VERSION/%{version}/" %{name}-pom.xml
@@ -107,6 +112,10 @@ sed -i "s/VERSION/%{version}/" %{name}-p
 %install
 rm -rf %{buildroot}
 
+# dirty 64bit hack
+%ifarch x86_64
+rm build
+%endif
 # jars
 install -D -m 644 build*/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
 (cd %{buildroot}%{_javadir}/; for jar in `ls *-%{version}.jar`; do ln -s $jar `echo $jar | sed -e 's/-%{version}//'`; done)
@@ -166,6 +175,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jul 23 2010 Levente Farkas <lfarkas at lfarkas.org> - 3.2.7-2
+- Temporary hack for 64bit build
+
 * Thu Jul 22 2010 Levente Farkas <lfarkas at lfarkas.org> - 3.2.7-1
 - Rebase on upstream 3.2.7
 



More information about the scm-commits mailing list