[purple-microblog/el5/master] Make build possible on EL-5
Matej Cepl
mcepl at fedoraproject.org
Tue Aug 24 03:36:48 UTC 2010
commit d187a269bb16be831fe9abf92c788d64fcfdc879
Author: Matěj Cepl <mcepl at redhat.com>
Date: Mon Aug 23 23:36:40 2010 -0400
Make build possible on EL-5
purple-microblog.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/purple-microblog.spec b/purple-microblog.spec
index 2c641cd..8b13319 100644
--- a/purple-microblog.spec
+++ b/purple-microblog.spec
@@ -2,7 +2,7 @@
Name: purple-microblog
Version: 0.3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Libpurple plug-in for Pidgin and others, supporting microblog services like Twitter
Group: Applications/Internet
@@ -10,6 +10,7 @@ License: GPLv3+
URL: http://code.google.com/p/microblog-purple/
Source0: http://microblog-purple.googlecode.com/files/%{upstream_name}-%{version}.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: pidgin-devel >= 2.5
ExcludeArch: s390x
%if 0%{?rhel} <= 5 && 0%{?fedora} < 7
@@ -29,7 +30,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
make LIBDIR=%{_libdir} build
%install
-make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir}
+make install DESTDIR=%{buildroot} LIBDIR=%{_libdir}
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/purple-2/libtwitter.so
%clean
@@ -45,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/purple/ca-certs/EquifaxSecureGlobaleBusinessCA.pem
%changelog
+* Fri Aug 13 2010 Matěj Cepl <mcepl at redhat.com> - 0.3.0-3
+- Make build for EL5.
+
* Sun Aug 01 2010 Matěj Cepl <mcepl at redhat.com> - 0.3.0-2
- Fix %%changelog
More information about the scm-commits
mailing list