- better (upstreamable) multilib patch
- tighten %files a bit
This commit is contained in:
parent
418af4334f
commit
d265da5df9
@ -1,13 +0,0 @@
|
|||||||
diff -up libksba-1.0.3/src/ksba-config.in.multilib libksba-1.0.3/src/ksba-config.in
|
|
||||||
--- libksba-1.0.3/src/ksba-config.in.multilib 2006-08-31 03:05:24.000000000 -0500
|
|
||||||
+++ libksba-1.0.3/src/ksba-config.in 2008-04-03 11:21:11.000000000 -0500
|
|
||||||
@@ -116,9 +116,6 @@ fi
|
|
||||||
|
|
||||||
if test "$echo_libs" = "yes"; then
|
|
||||||
libdirs=""
|
|
||||||
- if test "@libdir@" != "/usr/lib" ; then
|
|
||||||
- libdirs="-L@libdir@"
|
|
||||||
- fi
|
|
||||||
tmp=""
|
|
||||||
for i in $libdirs $libs; do
|
|
||||||
if echo "$tmp" | fgrep -v -- "$i" >/dev/null; then
|
|
12
libksba-1.0.6-multilib.patch
Normal file
12
libksba-1.0.6-multilib.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up libksba-1.0.6/src/ksba-config.in.multilib libksba-1.0.6/src/ksba-config.in
|
||||||
|
--- libksba-1.0.6/src/ksba-config.in.multilib 2006-08-31 03:05:24.000000000 -0500
|
||||||
|
+++ libksba-1.0.6/src/ksba-config.in 2009-12-17 07:17:28.312946199 -0600
|
||||||
|
@@ -116,7 +116,7 @@ fi
|
||||||
|
|
||||||
|
if test "$echo_libs" = "yes"; then
|
||||||
|
libdirs=""
|
||||||
|
- if test "@libdir@" != "/usr/lib" ; then
|
||||||
|
+ if test "@libdir@" != "/usr/lib" -a "@libdir@" != "/usr/lib32" -a "@libdir@" != "/usr/lib64" ; then
|
||||||
|
libdirs="-L@libdir@"
|
||||||
|
fi
|
||||||
|
tmp=""
|
15
libksba.spec
15
libksba.spec
@ -2,7 +2,7 @@
|
|||||||
Summary: X.509 library
|
Summary: X.509 library
|
||||||
Name: libksba
|
Name: libksba
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -11,8 +11,7 @@ Source0: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2
|
|||||||
Source1: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2.sig
|
Source1: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2.sig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
# quick-n-dirty hack to ksba-config, TODO: consider using pkgconfig instead
|
Patch1: libksba-1.0.6-multilib.patch
|
||||||
Patch1: libksba-1.0.3-multilib.patch
|
|
||||||
|
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
# >= 1.4 preferred
|
# >= 1.4 preferred
|
||||||
@ -86,12 +85,16 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/ksba-config
|
%{_bindir}/ksba-config
|
||||||
%{_libdir}/libksba.so
|
%{_libdir}/libksba.so
|
||||||
%{_includedir}/*
|
%{_includedir}/ksba.h
|
||||||
%{_datadir}/aclocal/*
|
%{_datadir}/aclocal/ksba.m4
|
||||||
%{_infodir}/*
|
%{_infodir}/ksba.info*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.6-4
|
||||||
|
- better (upstreamable) multilib patch
|
||||||
|
- tighten %%files a bit
|
||||||
|
|
||||||
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.0.6-3
|
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.0.6-3
|
||||||
- Convert specfile to UTF-8.
|
- Convert specfile to UTF-8.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user