[libofx] 0.9.5-2
Rex Dieter
rdieter at fedoraproject.org
Tue Jul 10 14:56:21 UTC 2012
commit 70e075a79868a1ddb22d16bcfd524f11e50a33c9
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Tue Jul 10 09:59:44 2012 -0500
0.9.5-2
- enumerate %files a bit, so abi bumps aren't a surprise
- tighten subpkg deps via %_isa
- -devel: drop Requires: opensp-devel
libofx.spec | 31 ++++++++++++++++---------------
1 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/libofx.spec b/libofx.spec
index 4654e4b..3ff85cd 100644
--- a/libofx.spec
+++ b/libofx.spec
@@ -1,7 +1,7 @@
Summary: A library for supporting Open Financial Exchange (OFX)
Name: libofx
Version: 0.9.5
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://libofx.sourceforge.net/
Group: System Environment/Libraries
License: GPLv2+
@@ -11,8 +11,6 @@ Patch0: fix-ftbfs-gcc4.7.diff
BuildRequires: opensp-devel
BuildRequires: curl-devel
BuildRequires: libxml++-devel
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
%description
This is the LibOFX library. It is a API designed to allow applications to
@@ -23,7 +21,7 @@ specification.
%package -n ofx
Summary: Tools for manipulating OFX data
Group: Applications/Productivity
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n ofx
The ofx package contains tools for manipulating OFX data from the
@@ -32,9 +30,7 @@ command line; they are often used when testing libofx.
%package devel
Summary: Development files needed for accessing OFX data
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: pkgconfig
-Requires: opensp-devel
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The libofx-devel contains the header files and libraries necessary
@@ -56,7 +52,7 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT/%{_libdir}/*a $RPM_BUILD_ROOT/%{_datadir}/doc
+rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.la $RPM_BUILD_ROOT%{_datadir}/doc
%post -p /sbin/ldconfig
@@ -65,22 +61,27 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*a $RPM_BUILD_ROOT/%{_datadir}/doc
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README totest.txt
-%{_libdir}/*.so.*
-%{_datadir}/libofx
+%{_libdir}/libofx.so.5*
+%{_datadir}/libofx/
%files -n ofx
%defattr(-,root,root)
-%{_bindir}/*
-%{_mandir}/man1/*
+%{_bindir}/ofx*
+%{_mandir}/man1/ofx*
%files devel
%defattr(-,root,root)
%doc doc/html doc/ofx_sample_files
-%{_includedir}/*
-%{_libdir}/pkgconfig/*
-%{_libdir}/*.so
+%{_includedir}/libofx/
+%{_libdir}/pkgconfig/libofx.pc
+%{_libdir}/libofx.so
%changelog
+* Tue Jul 10 2012 Rex Dieter <rdieter at fedoraproject.org> - 0.9.5-2
+- enumerate %%files a bit, so abi bumps aren't a surprise
+- tighten subpkg deps via %%_isa
+- -devel: drop Requires: opensp-devel
+
* Mon Jul 09 2012 Bill Nottingham <notting at redhat.com> - 0.9.5-1
- update to 0.9.5 (#838473)
More information about the scm-commits
mailing list