rpms/pwlib/devel pwlib-1.10-libperms.patch, NONE, 1.1 pwlib.spec, 1.42, 1.43

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Nov 17 15:57:50 UTC 2006


Author: veillard

Update of /cvs/dist/rpms/pwlib/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv15464

Modified Files:
	pwlib.spec 
Added Files:
	pwlib-1.10-libperms.patch 
Log Message:
- Fixes library permissions
- Resolves: rhbz#215916
Daniel


pwlib-1.10-libperms.patch:
 Makefile.in |    4 !!!!
 1 files changed, 4 modifications(!)

--- NEW FILE pwlib-1.10-libperms.patch ---
*** pwlib-1.10.1/Makefile.in.orig	2006-11-17 16:25:53.000000000 +0100
--- pwlib-1.10.1/Makefile.in	2006-11-17 16:26:45.000000000 +0100
***************
*** 254,260 ****
                       $(DESTDIR)$(PREFIX)/share/pwlib/make ; \
  		do mkdir -p $$dir ; chmod 755 $$dir ; \
  	done )
! 	$(INSTALL) -m 444 lib/$(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
  	(cd $(DESTDIR)$(LIBDIR) ; \
  		rm -f  $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@ ; \
  		ln -sf $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@ \
--- 254,260 ----
                       $(DESTDIR)$(PREFIX)/share/pwlib/make ; \
  		do mkdir -p $$dir ; chmod 755 $$dir ; \
  	done )
! 	$(INSTALL) -m 755 lib/$(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
  	(cd $(DESTDIR)$(LIBDIR) ; \
  		rm -f  $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@ ; \
  		ln -sf $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@. at BUILD_NUMBER@ $(PTLIB_FILE). at MAJOR_VERSION@. at MINOR_VERSION@ \
***************
*** 277,283 ****
  		do mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
  		chmod 755 $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
  		(for fn in ./$$dir/*.so ; \
! 			do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir; \
  		done ); \
  	done )
  endif
--- 277,283 ----
  		do mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
  		chmod 755 $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \
  		(for fn in ./$$dir/*.so ; \
! 			do $(INSTALL) -m 755 $$fn $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir; \
  		done ); \
  	done )
  endif


Index: pwlib.spec
===================================================================
RCS file: /cvs/dist/rpms/pwlib/devel/pwlib.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- pwlib.spec	17 Nov 2006 15:29:03 -0000	1.42
+++ pwlib.spec	17 Nov 2006 15:57:44 -0000	1.43
@@ -1,7 +1,7 @@
 Summary:	Portable Windows Libary
 Name:		pwlib
 Version:	1.10.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 URL:		http://www.openh323.org/
 Source0:	http://www.ekiga.org/pwlib-%{version}.tar.gz
 #We still need this for ppc64 it was not updated in 1.8.4
@@ -10,6 +10,7 @@
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-root
 BuildPrereq:	expat  openssl-devel pkgconfig
+Patch0: pwlib-1.10-libperms.patch
 
 %ifnarch  s390 s390x
 BuildRequires: libdv-devel libraw1394-devel libavc1394-devel
@@ -39,6 +40,7 @@
 
 %prep
 %setup -q -n pwlib_v1_10_2
+%patch0 -p1
 
 %build
 export CFLAGS="$CFLAGS -DLDAP_DEPRECATED"
@@ -72,8 +74,9 @@
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(755,root,root)
+%defattr(-,root,root)
 %doc History.txt ReadMe.txt mpl-1.0.htm
+%defattr(-,root,root)
 %{_libdir}/libpt*.so.*
 %dir %{_libdir}/pwlib
 %dir %{_libdir}/pwlib/devices
@@ -88,15 +91,16 @@
 %endif
 
 %files devel
-%defattr(755,root,root)
+%defattr(-,root,root)
 %{_libdir}/libpt*.so
 %{_includedir}/*
  %{_datadir}/pwlib
 %attr(755,root,root) %{_bindir}/*
 
 %changelog
-* Fri Nov 17 2006 Matthias Clasen <mclasen at redhat.com> - 1.10.2-2
-- Fix file permissions (#215916)
+* Fri Nov 17 2006 Daniel Veillard <veillard at redhat.com> - 1.10.2-3
+- fix library permissions
+- Resolves: rhbz#215916
 
 * Sat Oct 21 2006 Matthias Clasen <mclasen at redhat.com> - 1.10.2-1
 - Update to 1.10.2




More information about the fedora-cvs-commits mailing list