diff --git a/yast2-apparmor-2.20.0.tar.bz2 b/yast2-apparmor-2.20.0.tar.bz2 deleted file mode 100644 index 761e4c9..0000000 --- a/yast2-apparmor-2.20.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe720f089b6e723631aad863cb4c01dd0aad4b928e14e52f5a430043dc068e66 -size 151337 diff --git a/yast2-apparmor-2.20.1.tar.bz2 b/yast2-apparmor-2.20.1.tar.bz2 new file mode 100644 index 0000000..cb730c6 --- /dev/null +++ b/yast2-apparmor-2.20.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f752927c43e5e5425df23db2942198ecfc0b22030987667a7baea7e3495f6a4f +size 152386 diff --git a/yast2-apparmor.changes b/yast2-apparmor.changes index ce07d4f..be71e71 100644 --- a/yast2-apparmor.changes +++ b/yast2-apparmor.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Feb 24 14:31:56 UTC 2011 - lslezak@suse.cz + +- use perl-macros only in opensSUSE 11.4 (or newer) +- 2.20.1 + +------------------------------------------------------------------- +Fri Feb 11 23:29:22 UTC 2011 - opensuse@cboltz.de + +- add BuildRequires: perl-macros and %{perl_requires} to ensure + Notify.pm is in @INC (bnc#670650#c1) + ------------------------------------------------------------------- Thu Sep 2 15:04:21 CEST 2010 - kmachalkova@suse.cz diff --git a/yast2-apparmor.spec b/yast2-apparmor.spec index 4d9b182..3a23b18 100644 --- a/yast2-apparmor.spec +++ b/yast2-apparmor.spec @@ -1,43 +1,35 @@ # -# spec file for package yast2-apparmor (Version 2.20.0) +# spec file for package yast2-apparmor (Version 2.20.1) # -# Copyright (c) 2010 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: yast2-apparmor +Version: 2.20.1 +Release: 0 -Name: yast2-apparmor -Version: 2.20.0 -Release: 1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-apparmor-2.20.0.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: yast2-apparmor-2.20.1.tar.bz2 -Prefix: /usr +prefix: /usr -Group: Productivity/Security -License: GPLv2+ +Group: Productivity/Security +License: GPL v2 or later -Summary: YaST2 - Plugins for AppArmor Profile Management -Requires: yast2 perl-TimeDate -BuildArch: noarch -Obsoletes: yast2-subdomain -Provides: yast2-subdomain -BuildRequires: update-desktop-files +Summary: YaST2 - Plugins for AppArmor Profile Management +Requires: yast2 perl-TimeDate +BuildArch: noarch +Obsoletes: yast2-subdomain +Provides: yast2-subdomain +BuildRequires: update-desktop-files -BuildRequires: yast2 yast2-devtools +BuildRequires: yast2 yast2-devtools + +%if 0%{?suse_version} >= 1140 +# openSUSE-11.4 or newer +BuildRequires: perl-macros +%{perl_requires} +%endif %description Yast2 forms and components for the management of Novell AppArmor @@ -47,7 +39,7 @@ This package is part of a suite of tools that used to be named SubDomain. %prep -%setup -n yast2-apparmor-2.20.0 +%setup -n yast2-apparmor-2.20.1 %build %{prefix}/bin/y2tool y2autoconf @@ -71,6 +63,7 @@ for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desk %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} done + %clean rm -rf "$RPM_BUILD_ROOT" @@ -101,4 +94,3 @@ REPDIR3='/var/log/apparmor/reports-exported' [ -e $REPDIR ] || mkdir -p $REPDIR [ -e $REPDIR2 ] || mkdir -p $REPDIR2 [ -e $REPDIR3 ] || mkdir -p $REPDIR3 -%changelog