- New version from upstream.
- Build also sover 1 compat library to ease packages migration
This commit is contained in:
parent
716a4c40f1
commit
be3aec4eac
@ -1 +1 @@
|
||||
talloc-1.3.1.tar.gz
|
||||
talloc-2.0.0.tar.gz
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: libtalloc
|
||||
Version: 1.3.1
|
||||
Release: 2%{?dist}
|
||||
Version: 2.0.0
|
||||
Release: 0%{?dist}
|
||||
Group: System Environment/Daemons
|
||||
Summary: The talloc library
|
||||
License: LGPLv3+
|
||||
@ -28,7 +28,7 @@ Header files needed to develop programs that link against the Talloc library.
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --prefix=%{_usr}
|
||||
%configure --prefix=%{_usr} --enable-talloc-compat1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -36,9 +36,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.1
|
||||
ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.2
|
||||
ln -s libtalloc.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtalloc.so
|
||||
|
||||
#Compatibility library
|
||||
ln -s libtalloc-compat1-2.0.0.so $RPM_BUILD_ROOT%{_libdir}/libtalloc.so.1
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i
|
||||
|
||||
@ -49,6 +52,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libtalloc.so.*
|
||||
%{_libdir}/libtalloc-compat1-2.0.0.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -64,6 +68,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Tue Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 2.0.0-0
|
||||
- New version from upstream.
|
||||
- Build also sover 1 compat library to ease packages migration
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user