rpms/libgnome-java/devel libgnome-java.spec,1.47,1.48

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Apr 20 17:39:38 UTC 2007


Author: skasal

Update of /cvs/dist/rpms/libgnome-java/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6215

Modified Files:
	libgnome-java.spec 
Log Message:
- Adhere to packaging guidelines.
- Resolves: #226014


Index: libgnome-java.spec
===================================================================
RCS file: /cvs/dist/rpms/libgnome-java/devel/libgnome-java.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- libgnome-java.spec	5 Mar 2007 19:07:00 -0000	1.47
+++ libgnome-java.spec	20 Apr 2007 17:39:35 -0000	1.48
@@ -15,12 +15,12 @@
 Summary:	Java bindings for libgnome
 Name:		%{java_pkg_prefix}%{name_base}	
 Version:	2.12.4
-Release: 	6%{?dist}
+Release: 	7%{?dist}
 License:	LGPL
 Group:		Development/Libraries
 URL:		http://java-gnome.sourceforge.net
 Source:		http://ftp.gnome.org/pub/GNOME/sources/%{name_base}/2.12/%{name_base}-%{version}.tar.bz2
-BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 Patch:		%{name}-gjavah.patch
 
@@ -38,10 +38,10 @@
 libgnome-java is a language binding that allows developers to write
 GNOME applications in Java.  It is part of Java-GNOME.
 
-%package       	devel
-Summary:        Compressed Java source files for %{name}.
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
+%package       devel
+Summary:	Compressed Java source files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
 Requires:	libgnomeui-devel
 Requires:	libgnomecanvas-devel
 Requires:	libgtk-java-devel
@@ -61,7 +61,7 @@
 # if either the C or Java packages has a prefix declared, then we will
 # add /opt/frysk/lib/pkgconfig to the pkgconfig path
 if  [  'x%{java_pkg_prefix}' != 'x' ] || [ 'x%{c_pkg_prefix}' != 'x' ]; then
-        export PKG_CONFIG_PATH=/opt/frysk/lib/pkgconfig
+	export PKG_CONFIG_PATH=/opt/frysk/lib/pkgconfig
 fi
 
 # Two workarounds:
@@ -85,7 +85,7 @@
 
 # rename doc dir to reflect package rename, if the names differ
 if [ 'x%{name_base}' != 'x%{name}' ] ; then
-        mv $RPM_BUILD_ROOT%{_docdir}/%{name_base}-%{version} $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
+	mv $RPM_BUILD_ROOT%{_docdir}/%{name_base}-%{version} $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
 fi
 
 # Remove unpackaged files:
@@ -122,6 +122,10 @@
 %{_datadir}/java/*.zip
 
 %changelog
+* Fri Apr 20 2007 Stepan Kasal <skasal at redhat.com> - 2.12.4-7
+- Adhere to packaging guidelines.
+- Resolves: #226014
+
 * Mon Mar  5 2007 Stepan Kasal <skasal at redhat.com> - 2.12.4-6
 - Add patch for gcjh -> gjavah; touch aclocal.m4, configure, Makefile.in
   after applying it.
@@ -171,7 +175,7 @@
 - Add -X to src zip and ensure Config.java has the same mod time across
   platforms - needed for multilib.
 
-* Tue May  2 2006 Stepan Kasal <skasal at redhat.com>    - 2.12.2-0
+* Tue May  2 2006 Stepan Kasal <skasal at redhat.com> - 2.12.2-0
 - New upstream version.
 - Fix the (Build)Requires according to the configure.ac.
 - Try to build on s390x again.




More information about the fedora-cvs-commits mailing list