From f6839976c633d545041e7ac7a5718cf02f904a0866e121f1104c5ca726ba20b4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 28 Jan 2012 21:42:15 +0000 Subject: [PATCH] Remove redundant tags/sections OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zeromq?expand=0&rev=4 --- zeromq.changes | 5 +++++ zeromq.spec | 15 ++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/zeromq.changes b/zeromq.changes index f225d5b..2433626 100644 --- a/zeromq.changes +++ b/zeromq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 28 21:36:20 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions + ------------------------------------------------------------------- Wed Sep 28 07:04:21 UTC 2011 - saschpe@gmx.de diff --git a/zeromq.spec b/zeromq.spec index b0e2045..bec5076 100644 --- a/zeromq.spec +++ b/zeromq.spec @@ -1,7 +1,7 @@ # -# spec file for package python-4Suite-XML +# spec file for package zeromq # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -11,10 +11,12 @@ # 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/ # + + Name: zeromq Version: 2.1.7 Release: 0 @@ -63,6 +65,7 @@ message filtering (subscriptions), seamless access to multiple transport protocols and more. %define lib_name libzmq1 + %package -n %{lib_name} Summary: Shared Library for ZeroMQ Group: Productivity/Networking/Web/Servers @@ -110,12 +113,10 @@ make %{?_smp_mflags} V=1 %install %makeinstall V=1 -find %{buildroot} -name \*.la -print0 | xargs -r0 rm -v - -%clean -rm -rf %{buildroot} +find %{buildroot} -name "*.la" -delete %post -n %{lib_name} -p /sbin/ldconfig + %postun -n %{lib_name} -p /sbin/ldconfig %files -n %{lib_name}