SHA256
1
0
forked from pool/keyutils
OBS User unknown 2008-11-17 16:10:21 +00:00 committed by Git OBS Bridge
parent 7691b53a96
commit 983623aaf4
3 changed files with 37 additions and 8 deletions

View File

@ -0,0 +1,13 @@
Index: Makefile
===================================================================
--- Makefile.orig 2006-08-22 18:40:00.000000000 +0200
+++ Makefile 2008-11-12 01:04:22.000000000 +0100
@@ -76,7 +76,7 @@ keyctl: keyctl.c keyutils.h Makefile
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
request-key: request-key.c keyutils.h Makefile
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
+ $(CC) $(CFLAGS) -fno-strict-aliasing $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
MAN1 := $(DESTDIR)/usr/share/man/man1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 13 00:03:14 CET 2008 - crrodriguez@suse.de
- build request-key.c with -fno-strict-aliasing to avoid
possible breakages
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de

View File

@ -2,9 +2,16 @@
# spec file for package keyutils (Version 1.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -18,10 +25,10 @@ Group: System/Kernel
AutoReqProv: on
Summary: Linux Key Management Utilities
Version: 1.2
Release: 71
Release: 106
Source0: http://people.redhat.com/~dhowells/keyutils/%name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
Patch: keyutils-1.2-strict-aliasing-punning.patch
%description
Utilities to control the kernel key management facility and to provide
@ -53,6 +60,7 @@ Authors:
License: GPL v2 or later; LGPL v2.1 or later
Summary: Development package for building linux key management utilities
Group: System/Kernel
Requires: %{name}-libs = %{version} glibc-devel
%description devel
This package provides headers and libraries for building key utilities.
@ -65,6 +73,7 @@ Authors:
%prep
%setup -q
%patch
%build
make NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS"
@ -72,11 +81,9 @@ make NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS"
%install
make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_lib
%post
%run_ldconfig
%post libs -p /sbin/ldconfig
%postun
%run_ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
@ -99,6 +106,9 @@ make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_l
%{_includedir}/*
%changelog
* Thu Nov 13 2008 crrodriguez@suse.de
- build request-key.c with -fno-strict-aliasing to avoid
possible breakages
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support