rpms/libgconf-java/devel libgconf-java.spec,1.36,1.37

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Aug 30 20:07:17 UTC 2006


Author: skasal

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

Modified Files:
	libgconf-java.spec 
Log Message:
- Do not pack the *.la files.
- Move the *.so symlinks to -devel.



Index: libgconf-java.spec
===================================================================
RCS file: /cvs/dist/rpms/libgconf-java/devel/libgconf-java.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- libgconf-java.spec	13 Aug 2006 20:50:31 -0000	1.36
+++ libgconf-java.spec	30 Aug 2006 20:07:15 -0000	1.37
@@ -3,7 +3,7 @@
 Summary:	Java bindings for GConf
 Name:		%{name_base}
 Version:	2.12.4
-Release: 	2%{?dist}
+Release: 	3%{?dist}
 License:	LGPL
 Group:		Development/Libraries
 URL:		http://java-gnome.sourceforge.net
@@ -62,6 +62,9 @@
         mv $RPM_BUILD_ROOT%{_docdir}/%{name_base}-%{version} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 fi
 
+# Remove unpackaged files:
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+
 # install the src zip and make a sym link
 jarversion=$(echo -n %{version} | cut -d . -f -2)
 jarname=$(echo -n %{name} | cut -d - -f 1 | sed "s/lib//")
@@ -70,11 +73,9 @@
 ln -sf $jarname$jarversion-src-%{version}.zip $jarname$jarversion-src.zip
 popd
 
-%post
-/sbin/ldconfig
 
-%postun
-/sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %clean
 rm -rf %{buildroot}
@@ -82,16 +83,22 @@
 %files
 %defattr(-,root,root)
 %doc doc/api AUTHORS COPYING doc/examples NEWS README
-%{_libdir}/*so*
-%{_libdir}/*la
+%{_libdir}/libgconfjava-*.so
+%{_libdir}/libgconfjni-*.so
 %{_datadir}/java/*.jar
 
 %files devel
 %defattr(-,root,root)
 %{_libdir}/pkgconfig/*.pc
+%{_libdir}/libgconfjava.so
+%{_libdir}/libgconfjni.so
 %{_datadir}/java/*.zip
 
 %changelog
+* Wed Aug 30 2006 Stepan Kasal <skasal at redhat.com> - 2.12.4-3
+- Do not pack the *.la files.
+- Move the *.so symlinks to -devel.
+
 * Sun Aug 13 2006 Stepan Kasal <skasal at redhat.com> - 2.12.4-2
 - Fix the description of the -devel package.
 




More information about the fedora-cvs-commits mailing list