rpms/mock/devel 0001-Patch-from-Roland-McGrath-roland-redhat.com-to-fix.patch, NONE, 1.1 mock.spec, 1.37, 1.38
Michael E Brown (mebrown)
fedora-extras-commits at redhat.com
Mon Aug 13 06:55:40 UTC 2007
Author: mebrown
Update of /cvs/extras/rpms/mock/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18519
Modified Files:
mock.spec
Added Files:
0001-Patch-from-Roland-McGrath-roland-redhat.com-to-fix.patch
Log Message:
* Mon Aug 13 2007 Clark Williams <williams at redhat.com> - 0.7.5-2
- build fix from Roland McGrath to fix compile of selinux lib
0001-Patch-from-Roland-McGrath-roland-redhat.com-to-fix.patch:
--- NEW FILE 0001-Patch-from-Roland-McGrath-roland-redhat.com-to-fix.patch ---
>From 52dbb80070c4e2df83f6cfd835e5ceb43aa8382d Mon Sep 17 00:00:00 2001
From: Michael E Brown <mebrown at michaels-house.net>
Date: Mon, 13 Aug 2007 01:51:04 -0500
Subject: [PATCH] Patch from Roland McGrath <roland at redhat.com> to fix build for selinux shared library.
---
src/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Makefile b/src/Makefile
index c98de15..68085fb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -21,7 +21,7 @@ endif
all: $(EXECUTABLE) $(LIBRARY)
$(LIBRARY): selinux-mock.o
- $(LD) -shared -o $(LIBRARY) selinux-mock.o
+ $(CC) $(CFLAGS) -shared -o $(LIBRARY) selinux-mock.o
selinux-mock.o: selinux-mock.c
$(CC) $(CFLAGS) -fPIC -c selinux-mock.c
--
1.5.2.2
Index: mock.spec
===================================================================
RCS file: /cvs/extras/rpms/mock/devel/mock.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- mock.spec 8 Aug 2007 14:54:23 -0000 1.37
+++ mock.spec 13 Aug 2007 06:55:07 -0000 1.38
@@ -1,10 +1,11 @@
Summary: Builds packages inside chroots
Name: mock
Version: 0.7.5
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: Development/Tools
Source: http://fedoraproject.org/projects/mock/releases/%{name}-%{version}.tar.gz
+Patch: 0001-Patch-from-Roland-McGrath-roland-redhat.com-to-fix.patch
URL: http://fedoraproject.org/wiki/Projects/Mock
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: python, yum >= 2.4
@@ -16,6 +17,7 @@
%prep
%setup -q
+%patch -p1
%build
make CFLAGS="$RPM_OPT_FLAGS"
@@ -68,6 +70,9 @@
%{_libdir}/libselinux-mock.so
%changelog
+* Mon Aug 13 2007 Clark Williams <williams at redhat.com> - 0.7.5-2
+- build fix from Roland McGrath to fix compile of selinux lib
+
* Wed Aug 8 2007 Clark Williams <williams at redhat.com> - 0.7.5-1
- orphanskill feature (BZ#221351)
More information about the fedora-extras-commits
mailing list