Updated to 1.3 Removed python bindings (they are separate project now)
This commit is contained in:
parent
2e77956fb2
commit
6d530a9045
@ -1 +1 @@
|
|||||||
gflags-1.2.tar.gz
|
gflags-1.3.tar.gz
|
||||||
|
23
gflags.spec
23
gflags.spec
@ -1,7 +1,7 @@
|
|||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
Name: gflags
|
Name: gflags
|
||||||
Version: 1.2
|
Version: 1.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Library for commandline flag processing
|
Summary: Library for commandline flag processing
|
||||||
|
|
||||||
@ -39,9 +39,6 @@ sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
# build python module
|
|
||||||
cd python
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -49,18 +46,11 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
||||||
|
|
||||||
# install python module
|
|
||||||
cd python
|
|
||||||
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
# executable permission for script
|
|
||||||
chmod 755 $RPM_BUILD_ROOT%{python_sitelib}/gflags.py
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# 2 out of 17 tests fail on x86_64
|
# 2 out of 17 tests fail on x86_64
|
||||||
# disable test suite
|
# disable test suite
|
||||||
cd python
|
|
||||||
#%{__python} %{name}_unittest.py
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -74,13 +64,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc ChangeLog README COPYING
|
%doc ChangeLog README COPYING
|
||||||
%{_bindir}/gflags_completions.sh
|
%{_bindir}/gflags_completions.sh
|
||||||
%{_bindir}/gflags2man.py
|
|
||||||
%{_libdir}/libgflags.so.*
|
%{_libdir}/libgflags.so.*
|
||||||
%{_libdir}/libgflags_nothreads.so.*
|
%{_libdir}/libgflags_nothreads.so.*
|
||||||
%{python_sitelib}/gflags.py
|
|
||||||
%{python_sitelib}/gflags.pyc
|
|
||||||
%{python_sitelib}/gflags.pyo
|
|
||||||
%{python_sitelib}/*egg-info
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -94,6 +79,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/google/*.h
|
%{_includedir}/google/*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.3-1
|
||||||
|
- Updated to 1.3
|
||||||
|
- Removed python bindings (they are separate project now)
|
||||||
|
|
||||||
* Fri Dec 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2-1
|
* Fri Dec 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2-1
|
||||||
- Updated to 1.2
|
- Updated to 1.2
|
||||||
|
|
||||||
|
@ -2,3 +2,4 @@ gflags-0_9-6_fc10:HEAD:gflags-0.9-6.fc10.src.rpm:1222674675
|
|||||||
gflags-1_0-1_fc10:HEAD:gflags-1.0-1.fc10.src.rpm:1232013079
|
gflags-1_0-1_fc10:HEAD:gflags-1.0-1.fc10.src.rpm:1232013079
|
||||||
gflags-1_1-1_fc11:HEAD:gflags-1.1-1.fc11.src.rpm:1249455264
|
gflags-1_1-1_fc11:HEAD:gflags-1.1-1.fc11.src.rpm:1249455264
|
||||||
gflags-1_2-1_fc12:HEAD:gflags-1.2-1.fc12.src.rpm:1259881814
|
gflags-1_2-1_fc12:HEAD:gflags-1.2-1.fc12.src.rpm:1259881814
|
||||||
|
gflags-1_3-1_fc13:HEAD:gflags-1.3-1.fc13.src.rpm:1264836143
|
||||||
|
Loading…
Reference in New Issue
Block a user