From 9ca684f47c53d21810da2fbb53f472836d9484a662be3f04d6166085f3f97855 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 14 Jun 2011 14:41:08 +0000 Subject: [PATCH] Autobuild autoformatter for 73544 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzypp?expand=0&rev=237 --- libzypp.spec | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/libzypp.spec b/libzypp.spec index 0de9f55..e1366cb 100644 --- a/libzypp.spec +++ b/libzypp.spec @@ -1,22 +1,30 @@ # # spec file for package libzypp # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: libzypp License: GPLv2 Group: System/Packages BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Package, Patch, Pattern, and Product Management Version: 9.8.1 -Release: 0 +Release: 1 Source: %{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Provides: yast2-packagemanager @@ -130,6 +138,7 @@ Authors: Ladislav Slezak %package devel + Requires: libzypp = %{version} Requires: libxml2-devel Requires: openssl-devel @@ -149,14 +158,14 @@ Requires: cmake %if 0%{?suse_version} %if 0%{?suse_version} >= 1100 # Code11+ -Requires: libcurl-devel >= %{min_curl_version} +Requires: libcurl-devel >= %{min_curl_version} %else # Code10 -Requires: curl-devel +Requires: curl-devel %endif %else # Other distros (Fedora) -Requires: libcurl-devel >= %{min_curl_version} +Requires: libcurl-devel >= %{min_curl_version} %endif %if 0%{?suse_version} >= 1100 %requires_ge libsatsolver-devel @@ -243,7 +252,6 @@ make -C po install DESTDIR=$RPM_BUILD_ROOT cd .. %{find_lang} zypp - %post /sbin/ldconfig if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi @@ -308,7 +316,6 @@ if is_old ${LOCKSFILE} done fi - %postun -p /sbin/ldconfig %clean