Author: jkupec Date: Thu Jun 19 13:29:40 2008 New Revision: 10399 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10399&view=rev Log: - zypp-checkpatches dropped Removed: trunk/zypper/src/checkpatches-keyring-callbacks.h trunk/zypper/src/zypp-checkpatches-wrapper.c trunk/zypper/src/zypp-checkpatches.cc Modified: trunk/zypper/src/CMakeLists.txt trunk/zypper/src/zypper-info.cc trunk/zypper/zypper.spec.cmake Modified: trunk/zypper/src/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/CMakeLists.txt?rev=10399&r1=10398&r2=10399&view=diff ============================================================================== --- trunk/zypper/src/CMakeLists.txt (original) +++ trunk/zypper/src/CMakeLists.txt Thu Jun 19 13:29:40 2008 @@ -77,23 +77,6 @@ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/zypper/xml ) - -# zypp-checkpatches utility -# DEPRECATED - use zypp-refresh + 'zypper --xmlout lu' instead -ADD_EXECUTABLE( zypp-checkpatches zypp-checkpatches.cc zypper-updates.cc ) -TARGET_LINK_LIBRARIES( zypp-checkpatches ${ZYPP_LIBRARY} ) -INSTALL( - TARGETS zypp-checkpatches - RUNTIME DESTINATION ${INSTALL_PREFIX}/sbin -) - -ADD_EXECUTABLE( zypp-checkpatches-wrapper zypp-checkpatches-wrapper.c ) -TARGET_LINK_LIBRARIES( zypp-checkpatches-wrapper ${ZYPP_LIBRARY} ) -INSTALL( - TARGETS zypp-checkpatches-wrapper - RUNTIME DESTINATION ${INSTALL_PREFIX}/sbin -) - # zypp-refresh utility ADD_EXECUTABLE( zypp-refresh zypp-refresh.cc ) TARGET_LINK_LIBRARIES( zypp-refresh ${ZYPP_LIBRARY} ) Modified: trunk/zypper/src/zypper-info.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-info.cc?rev=10399&r1=10398&r2=10399&view=diff ============================================================================== --- trunk/zypper/src/zypper-info.cc (original) +++ trunk/zypper/src/zypper-info.cc Thu Jun 19 13:29:40 2008 @@ -212,6 +212,8 @@ cout << _("Provides:") << endl; Capabilities capSet = pool_item.resolvable()->dep(zypp::Dep::PROVIDES); + // WhatProvides can be used here. The result can be represented as a table of + // a "Capability" (it->asString()) | "Provided By" (WhatProvides(c)) for (Capabilities::const_iterator it = capSet.begin(); it != capSet.end(); ++it) { // FIXME cout << it->refers().asString() << ": " << it->asString() << endl; cout << *it << endl; Modified: trunk/zypper/zypper.spec.cmake URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/zypper.spec.cmake?rev=10399&r1=10398&r2=10399&view=diff ============================================================================== --- trunk/zypper/zypper.spec.cmake (original) +++ trunk/zypper/zypper.spec.cmake Thu Jun 19 13:29:40 2008 @@ -62,10 +62,9 @@ make install DESTDIR=$RPM_BUILD_ROOT make -C po install DESTDIR=$RPM_BUILD_ROOT -# Create filelist with translatins +# Create filelist with translations cd .. %{find_lang} zypper -#rm -f ${RPM_BUILD_ROOT}%{_sbindir}/zypp-checkpatches-wrapper %{__install} -d -m755 %buildroot%_var/log touch %buildroot%_var/log/zypper.log @@ -74,7 +73,7 @@ %run_permissions %verifyscript -%verify_permissions -e %{_sbindir}/zypp-checkpatches-wrapper +%verify_permissions -e %{_sbindir}/zypp-refresh-wrapper %postun -p /sbin/ldconfig @@ -87,8 +86,6 @@ %{_sysconfdir}/bash_completion.d/zypper.sh %{_bindir}/zypper %{_bindir}/installation_sources -%{_sbindir}/zypp-checkpatches -%verify(not mode) %attr (755,root,root) %{_sbindir}/zypp-checkpatches-wrapper %{_sbindir}/zypp-refresh %verify(not mode) %attr (755,root,root) %{_sbindir}/zypp-refresh-wrapper %dir %{prefix}/share/zypper -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org