[libofa] fix build against gcc47 tighten %files
Rex Dieter
rdieter at fedoraproject.org
Sat Jan 14 15:38:19 UTC 2012
commit b16ca651a60c066728edc8d847b68adf41f5a423
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Sat Jan 14 09:38:17 2012 -0600
fix build against gcc47
tighten %files
libofa.spec | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/libofa.spec b/libofa.spec
index 5bd2c8f..684450f 100644
--- a/libofa.spec
+++ b/libofa.spec
@@ -4,7 +4,7 @@
Summary: Open Fingerprint Architecture library
Name: libofa
Version: 0.9.3
-Release: 19%{?dist}
+Release: 20%{?dist}
License: GPLv2
Url: http://code.google.com/p/musicip-libofa/
@@ -17,6 +17,7 @@ Patch1: libofa-0.9.3-gcc41.patch
Patch2: libofa-0.9.3-pkgconfig.patch
Patch3: libofa-0.9.3-gcc44.patch
Patch4: libofa-0.9.3-curl.patch
+Patch5: libofa-0.9.3-gcc47.patch
BuildRequires: findutils
BuildRequires: pkgconfig sed
@@ -52,6 +53,7 @@ find . -name README -or -name \*.cpp -or -name \*.h | xargs --no-run-if-empty se
%patch2 -p1 -b .pkgconfig
%patch3 -p1 -b .gcc43
%patch4 -p1 -b .curl
+%patch5 -p1 -b .gcc47
## pkg-config < 0.20.0 (apparently?) doesn't grok URL
%if "%(pkg-config --version 2>/dev/null)" < "0.20.0"
@@ -85,24 +87,26 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
-
%postun -p /sbin/ldconfig
-
%files
%defattr(-,root,root,-)
%doc AUTHORS README COPYING
-%{_libdir}/lib*.so.*
+%{_libdir}/libofa.so.0*
%files devel
%defattr(-,root,root,-)
%doc examples/
-%{_includedir}/*
-%{_libdir}/pkgconfig/*.pc
-%{_libdir}/lib*.so
+%{_includedir}/ofa1/
+%{_libdir}/pkgconfig/libofa.pc
+%{_libdir}/libofa.so
%changelog
+* Sat Jan 14 2012 Rex Dieter <rdieter at fedoraproject.org> 0.9.3-20
+- fix build against gcc47
+- tighten %%files
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.3-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list