rpms/libnl/devel libnl-1.0-install-no-root.patch, NONE, 1.1 libnl.spec, 1.8, 1.9

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jan 16 17:02:40 UTC 2006


Author: caillon

Update of /cvs/dist/rpms/libnl/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv15343

Modified Files:
	libnl.spec 
Added Files:
	libnl-1.0-install-no-root.patch 
Log Message:
* Mon Jan 16 2006 Christopher Aillon <caillon at redhat.com> 1.0-0.7.pre5
- Add patch to not chown files to root.root during make install; it
  happens normally.


libnl-1.0-install-no-root.patch:
 include/Makefile |    8 ++++----
 lib/Makefile     |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

--- NEW FILE libnl-1.0-install-no-root.patch ---
diff -prudN libnl-1.0-pre5-root/include/Makefile libnl-1.0-pre5/include/Makefile
--- libnl-1.0-pre5-root/include/Makefile	2005-11-02 12:29:06.000000000 -0500
+++ libnl-1.0-pre5/include/Makefile	2006-01-16 11:56:07.000000000 -0500
@@ -27,7 +27,7 @@ distclean:
 install:
 	mkdir -p $(DESTDIR)$(prefix)/include/netlink/route/sch/
 	mkdir -p $(DESTDIR)$(prefix)/include/netlink/route/cls/
-	install -o root -g root -m 0644 netlink/*.h $(DESTDIR)$(prefix)/include/netlink/
-	install -o root -g root -m 0644 netlink/route/*.h $(DESTDIR)$(prefix)/include/netlink/route/
-	install -o root -g root -m 0644 netlink/route/sch/*.h $(DESTDIR)$(prefix)/include/netlink/route/sch/
-	install -o root -g root -m 0644 netlink/route/cls/*.h $(DESTDIR)$(prefix)/include/netlink/route/cls/
+	install -m 0644 netlink/*.h $(DESTDIR)$(prefix)/include/netlink/
+	install -m 0644 netlink/route/*.h $(DESTDIR)$(prefix)/include/netlink/route/
+	install -m 0644 netlink/route/sch/*.h $(DESTDIR)$(prefix)/include/netlink/route/sch/
+	install -m 0644 netlink/route/cls/*.h $(DESTDIR)$(prefix)/include/netlink/route/cls/
diff -prudN libnl-1.0-pre5-root/lib/Makefile libnl-1.0-pre5/lib/Makefile
--- libnl-1.0-pre5-root/lib/Makefile	2005-11-02 12:29:06.000000000 -0500
+++ libnl-1.0-pre5/lib/Makefile	2006-01-16 11:56:29.000000000 -0500
@@ -58,7 +58,7 @@ distclean:
 
 install:
 	mkdir -p $(DESTDIR)$(LIBDIR)/
-	install -o root -g root -m 0644 $(OUT_SLIB) $(DESTDIR)$(LIBDIR)
+	install -m 0644 $(OUT_SLIB) $(DESTDIR)$(LIBDIR)
 	rm -f $(DESTDIR)$(LIBDIR)/$(LN1_SLIB) ; \
 	$(LN) -s $(OUT_SLIB) $(DESTDIR)$(LIBDIR)/$(LN1_SLIB)
 	rm -f $(DESTDIR)$(LIBDIR)/$(LN_SLIB) ; \


Index: libnl.spec
===================================================================
RCS file: /cvs/dist/rpms/libnl/devel/libnl.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- libnl.spec	9 Jan 2006 21:41:42 -0000	1.8
+++ libnl.spec	16 Jan 2006 17:02:38 -0000	1.9
@@ -5,13 +5,14 @@
 License: LGPL
 Name: libnl
 Version: 1.0
-Release: 0.6.%{preversion}
+Release: 0.7.%{preversion}
 URL: http://people.suug.ch/~tgr/libnl/
 Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}-%{preversion}.tar.gz
 Source1: %{name}-1.pc
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: doxygen
 Patch1: libnl-64bit.patch
+Patch2: libnl-1.0-install-no-root.patch
 
 %description
 This package contains a convenience library to simplify
@@ -30,6 +31,7 @@
 %prep
 %setup -q -n libnl-%{version}-%{preversion}
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure
@@ -61,6 +63,10 @@
 %{_libdir}/pkgconfig/%{name}-1.pc
 
 %changelog
+* Mon Jan 16 2006 Christopher Aillon <caillon at redhat.com> 1.0-0.7.pre5
+- Add patch to not chown files to root.root during make install; it
+  happens normally.
+
 * Mon Jan  9 2006 Christopher Aillon <caillon at redhat.com> 1.0-0.6.pre5
 - Correctly install the pkgconfig file
 




More information about the fedora-cvs-commits mailing list