[libssh2] Fix multi-arch conflict again (#816969)

Paul Howarth pghmcfc at fedoraproject.org
Fri Apr 27 12:21:31 UTC 2012


commit a352ea2406f3d32b5a3343053a0f5e899d2de6b9
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Apr 27 13:21:06 2012 +0100

    Fix multi-arch conflict again (#816969)

 libssh2.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/libssh2.spec b/libssh2.spec
index f0f473b..79b684a 100644
--- a/libssh2.spec
+++ b/libssh2.spec
@@ -9,7 +9,7 @@
 
 Name:		libssh2
 Version:	1.4.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A library implementing the SSH2 protocol
 Group:		System Environment/Libraries
 License:	BSD
@@ -85,7 +85,7 @@ rm -rf example/.deps
 find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} \;
 
 # avoid multilib conflict on libssh2-devel
-mv -v example/Makefile example/Makefile.%{_arch}
+mv -v example example.%{_arch}
 
 %check
 # The SSH test will fail if we don't have /dev/tty, as is the case in some
@@ -118,7 +118,7 @@ rm -rf %{buildroot}
 %{_mandir}/man3/libssh2_*.3*
 
 %files devel
-%doc example/
+%doc example.%{_arch}/
 %{_includedir}/libssh2.h
 %{_includedir}/libssh2_publickey.h
 %{_includedir}/libssh2_sftp.h
@@ -126,6 +126,9 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/libssh2.pc
 
 %changelog
+* Fri Apr 27 2012 Paul Howarth <paul at city-fan.org> 1.4.1-2
+- Fix multi-arch conflict again (#816969)
+
 * Thu Apr  5 2012 Paul Howarth <paul at city-fan.org> 1.4.1-1
 - Update to 1.4.1
   - Build error with gcrypt backend


More information about the scm-commits mailing list