From 09e248a025fcad7dcd397376043f044b3e6e7439502bf236a03c2d01d876c25c Mon Sep 17 00:00:00 2001 From: Katarina Machalkova Date: Thu, 2 Sep 2010 13:21:24 +0000 Subject: [PATCH] 2,20d1 < Thu Sep 2 15:04:21 CEST 2010 - kmachalkova@suse.cz < < - Install Notify.pm into @INC so that Perl can see it (bnc#635830) < - 2.20.0 < < ------------------------------------------------------------------- < Tue Apr 6 11:04:52 CEST 2010 - juhliarik@suse.cz < < - updated "names" in .desktop files for searching AppArmor related < modules in YaST (bnc#590929) < < ------------------------------------------------------------------ < Wed Jan 13 18:56:03 CET 2010 - kmachalkova@suse.cz < < - Adjusted .desktop file(s) to wrap /sbin/yast2/ calls in xdg-su < where root privileges are needed, removed X-KDE-SubstituteUID key < (bnc#540627) < < ------------------------------------------------------------------- OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-apparmor?expand=0&rev=8 --- yast2-apparmor-2.19.0.tar.bz2 | 3 -- yast2-apparmor-2.20.0.tar.bz2 | 3 ++ yast2-apparmor.changes | 19 +++++++++++ yast2-apparmor.spec | 61 ++++++++++++++++------------------- 4 files changed, 50 insertions(+), 36 deletions(-) delete mode 100644 yast2-apparmor-2.19.0.tar.bz2 create mode 100644 yast2-apparmor-2.20.0.tar.bz2 diff --git a/yast2-apparmor-2.19.0.tar.bz2 b/yast2-apparmor-2.19.0.tar.bz2 deleted file mode 100644 index 293c970..0000000 --- a/yast2-apparmor-2.19.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffe7ba49a374f9e38caf73d29843f809796f06e280f4e076f667c6979f5d429d -size 177078 diff --git a/yast2-apparmor-2.20.0.tar.bz2 b/yast2-apparmor-2.20.0.tar.bz2 new file mode 100644 index 0000000..761e4c9 --- /dev/null +++ b/yast2-apparmor-2.20.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe720f089b6e723631aad863cb4c01dd0aad4b928e14e52f5a430043dc068e66 +size 151337 diff --git a/yast2-apparmor.changes b/yast2-apparmor.changes index 639fd57..ce07d4f 100644 --- a/yast2-apparmor.changes +++ b/yast2-apparmor.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu Sep 2 15:04:21 CEST 2010 - kmachalkova@suse.cz + +- Install Notify.pm into @INC so that Perl can see it (bnc#635830) +- 2.20.0 + +------------------------------------------------------------------- +Tue Apr 6 11:04:52 CEST 2010 - juhliarik@suse.cz + +- updated "names" in .desktop files for searching AppArmor related + modules in YaST (bnc#590929) + +------------------------------------------------------------------ +Wed Jan 13 18:56:03 CET 2010 - kmachalkova@suse.cz + +- Adjusted .desktop file(s) to wrap /sbin/yast2/ calls in xdg-su + where root privileges are needed, removed X-KDE-SubstituteUID key + (bnc#540627) + ------------------------------------------------------------------- Mon Nov 23 16:09:14 CET 2009 - kmachalkova@suse.cz diff --git a/yast2-apparmor.spec b/yast2-apparmor.spec index 8b7ca2a..33d1f6b 100644 --- a/yast2-apparmor.spec +++ b/yast2-apparmor.spec @@ -1,38 +1,30 @@ # -# spec file for package yast2-apparmor (Version 2.19.0) +# spec file for package yast2-apparmor (Version 2.20.0) # -# Copyright (c) 2009 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.0 +Release: 0 + + +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: yast2-apparmor-2.20.0.tar.bz2 + +prefix: /usr + +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 + +BuildRequires: yast2 yast2-devtools -Name: yast2-apparmor -Version: 2.19.0 -Release: 1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-apparmor-2.19.0.tar.bz2 -Prefix: /usr -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 -BuildRequires: yast2 yast2-devtools %description Yast2 forms and components for the management of Novell AppArmor @@ -42,14 +34,16 @@ This package is part of a suite of tools that used to be named SubDomain. %prep -%setup -n yast2-apparmor-2.19.0 +%setup -n yast2-apparmor-2.20.0 %build %{prefix}/bin/y2tool y2autoconf %{prefix}/bin/y2tool y2automake autoreconf --force --install + export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" + %{?suse_update_config:%{suse_update_config -f}} ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} # V=1: verbose build in case we used AM_SILENT_RULES(yes) @@ -64,6 +58,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" @@ -78,7 +73,8 @@ rm -rf "$RPM_BUILD_ROOT" /usr/share/YaST2/modules /usr/share/applications/YaST2 /usr/lib/YaST2/servers_non_y2 -/usr/lib/perl5/vendor_perl/* +%dir %{perl_vendorlib}/Immunix +%{perl_vendorlib}/Immunix/Notify.pm # license is questionable, PDB says GPL v2 or later #%doc COPYING.LGPL %dir %attr(-,root,root) /etc/apparmor @@ -93,4 +89,3 @@ REPDIR3='/var/log/apparmor/reports-exported' [ -e $REPDIR ] || mkdir -p $REPDIR [ -e $REPDIR2 ] || mkdir -p $REPDIR2 [ -e $REPDIR3 ] || mkdir -p $REPDIR3 -%changelog