From 9de1872ceca4b86cc30f36bca4af24ba39867269 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 4 Feb 2013 12:33:57 -0800 Subject: [PATCH] Add multi-lib support --- packaging/baselibs.conf | 1 + packaging/libXdamage.changes | 3 +++ packaging/libXdamage.spec | 7 +++---- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 packaging/baselibs.conf create mode 100644 packaging/libXdamage.changes diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..37b6fb9 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1 @@ +libXdamage diff --git a/packaging/libXdamage.changes b/packaging/libXdamage.changes new file mode 100644 index 0000000..082936c --- /dev/null +++ b/packaging/libXdamage.changes @@ -0,0 +1,3 @@ +* Mon Feb 04 2013 Anas Nashif upstream/1.1.3@4f26cf5 +- Add multi-lib support + diff --git a/packaging/libXdamage.spec b/packaging/libXdamage.spec index 5e17559..b40b814 100644 --- a/packaging/libXdamage.spec +++ b/packaging/libXdamage.spec @@ -5,7 +5,6 @@ License: MIT Summary: X Damage extension library Url: http://www.x.org Group: System Environment/Libraries - Source: %{name}-%{version}.tar.bz2 BuildRequires: pkgconfig(damageproto) >= 1.1.0 @@ -28,8 +27,7 @@ X.Org X11 libXdamage development package. %setup -q %build -%configure --disable-static \ - LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed" +%configure --disable-static make %{?_smp_mflags} %install @@ -37,11 +35,12 @@ make %{?_smp_mflags} %remove_docs %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) -%doc COPYING +%license COPYING %{_libdir}/libXdamage.so.1 %{_libdir}/libXdamage.so.1.1.0 -- 2.7.4