Fix FTBFS
This commit is contained in:
parent
78b08c69d1
commit
cc00b5faed
1 changed files with 10 additions and 10 deletions
20
libnova.spec
20
libnova.spec
|
|
@ -1,12 +1,12 @@
|
|||
Name: libnova
|
||||
Version: 0.15.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Libnova is a general purpose astronomy & astrodynamics library
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://sourceforge.net/projects/libnova/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libtool autoconf automake
|
||||
|
||||
%description
|
||||
Libnova is a general purpose, double precision, celestial mechanics,
|
||||
|
|
@ -25,25 +25,22 @@ Contains library and header files for libnova
|
|||
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
%configure --disable-static
|
||||
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog README AUTHORS NEWS COPYING
|
||||
%{_libdir}/libnova-0.13.so.0.0.0
|
||||
%{_libdir}/libnova-0.13.so.0
|
||||
%{_libdir}/libnova-0.15.so.0.0.0
|
||||
%{_libdir}/libnova-0.15.so.0
|
||||
%{_bindir}/libnovaconfig
|
||||
|
||||
%files devel
|
||||
|
|
@ -53,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 28 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.15.0-3
|
||||
- Fix FTBFS
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue