rpms/gdal/devel gdal.spec,1.44,1.45

Balint Cristian (rezso) fedora-extras-commits at redhat.com
Wed May 28 14:54:50 UTC 2008


Author: rezso

Update of /cvs/pkgs/rpms/gdal/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv799/devel

Modified Files:
	gdal.spec 
Log Message:
- fix pkgconfig too
 ----------------------------------------------------------------------
 Modified Files:
 	devel/gdal.spec 
 ----------------------------------------------------------------------



Index: gdal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdal/devel/gdal.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- gdal.spec	28 May 2008 14:09:46 -0000	1.44
+++ gdal.spec	28 May 2008 14:53:52 -0000	1.45
@@ -1,6 +1,6 @@
 Name:      gdal
 Version:   1.5.1
-Release:   12%{?dist}
+Release:   13%{?dist}
 Summary:   GIS file format library
 Group:     System Environment/Libraries
 License:   MIT
@@ -307,10 +307,6 @@
 cp -p swig/java/gdal.jar  \
       %{buildroot}%{_javadir}/%{name}-%{version}.jar
 
-
-mkdir -p %{buildroot}%{_libdir}/pkgconfig/
-install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
-
 # fix some exec bits
 find %{buildroot}%{perl_vendorarch} -name "*.so" -exec chmod 755 '{}' \;
 find %{buildroot}%{python_sitearch} -name "*.so" -exec chmod 755 '{}' \;
@@ -376,6 +372,10 @@
 Cflags: -I\${includedir}/%{name}
 EOF
 
+mkdir -p %{buildroot}%{_libdir}/pkgconfig/
+install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
+touch -r NEWS %{buildroot}%{_libdir}/pkgconfig/
+
 # multilib gdal-config
 mv %{buildroot}%{_bindir}/%{name}-config %{buildroot}%{_bindir}/%{name}-config-%{cpuarch}
 cat > %{buildroot}%{_bindir}/%{name}-config <<EOF
@@ -503,6 +503,9 @@
 %{_javadir}/%{name}-%{version}.jar
 
 %changelog
+* Wed May 27 2008 Balint Cristian <rezso at rdsor.ro> - 1.5.1-13
+- fix pkgconfig too
+
 * Wed May 27 2008 Balint Cristian <rezso at rdsor.ro> - 1.5.1-12
 - fix once more gdal-config
 




More information about the fedora-extras-commits mailing list