- 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
|
Name: libtalloc
|
||||||
Version: 1.3.1
|
Version: 2.0.0
|
||||||
Release: 2%{?dist}
|
Release: 0%{?dist}
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Summary: The talloc library
|
Summary: The talloc library
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
@ -28,7 +28,7 @@ Header files needed to develop programs that link against the Talloc library.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
%configure --prefix=%{_usr}
|
%configure --prefix=%{_usr} --enable-talloc-compat1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -36,9 +36,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
make install DESTDIR=$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
|
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%{_libdir}/libtalloc.a
|
||||||
rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i
|
rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i
|
||||||
|
|
||||||
@ -49,6 +52,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libtalloc.so.*
|
%{_libdir}/libtalloc.so.*
|
||||||
|
%{_libdir}/libtalloc-compat1-2.0.0.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -64,6 +68,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user