Mailinglist Archive: opensuse-bugs (5609 mails)

< Previous Next >
[Bug 721685] New: [PATCH for SUSE 12.1] Please upgrade tomoyo-tools package.
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 3 Oct 2011 03:59:25 +0000
  • Message-id: <bug-721685-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=721685

https://bugzilla.novell.com/show_bug.cgi?id=721685#c0


Summary: [PATCH for SUSE 12.1] Please upgrade tomoyo-tools
package.
Classification: openSUSE
Product: openSUSE 12.1
Version: Beta 1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: from-suse@xxxxxxxxxxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ja; rv:1.9.2.23)
Gecko/20110920 Firefox/3.6.23 ( .NET CLR 3.5.30729; .NET4.0C)

Since openSUSE 12.1 decided to use Linux 3.1 rather than Linux 3.0, Therefore,
TOMOYO's userspace management tool needs to be upgraded from TOMOYO 2.3 to
TOMOYO 2.4 accordingly.

(Please correct/update Release/changelog etc. as needed. Currently
tomoyo-tools-2.3 package is available in repository for 12.1, but that package
is no longer usable due to 3.0 -> 3.1 change. Please remove tomoyo-tools-2.3
and add tomoyo-tools-2.4 instead.)

Signed-off-by: Tetsuo Handa <from-suse@xxxxxxxxxxxxxxxxxxx>
---
--- a/tomoyo-tools.spec
+++ b/tomoyo-tools.spec
@@ -15,42 +15,34 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

+%define usrlibdir /usr/%_lib

-%define downloadver 2.3.0-20110511
-BuildRequires: help2man ncurses-devel
+%define downloadver 2.4.0-20110929
+BuildRequires: ncurses-devel

Name: tomoyo-tools
License: GPLv2
Group: Development/Tools/Other
AutoReqProv: on
-Summary: A Friendly Greeting Program
+Summary: Userspace tools for TOMOYO Linux 2.4.x
Url: http://sourceforge.jp/projects/tomoyo/
-Version: 2.3.0.20110511
+Version: 2.4.0.20110929
Release: 82.2
Source0:
http://sourceforge.jp/frs/redir.php?f=/tomoyo/48663/tomoyo-tools-%{downloadver}.tar.gz
-Patch0: %{name}-makefile.patch
-Patch1: tomoyo-clone.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
-TOMOYO userland utilities.
+This package contains userspace tools for administrating TOMOYO Linux 2.4.
+Please see http://tomoyo.sourceforge.jp/2.4/ for documentation.

%prep
%setup -q -n %{name}
-%patch0 -p1
-%patch1 -p1

%build
-make CC="gcc $RPM_OPT_FLAGS"
+make USRLIBDIR=%{usrlibdir} CFLAGS="-Wall $RPM_OPT_FLAGS"

%install
-make install INSTALLDIR=$RPM_BUILD_ROOT
-if [ "%_lib" = "lib64" ]; then
- mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/lib64
-fi
-mkdir $RPM_BUILD_ROOT/etc
-mkdir $RPM_BUILD_ROOT/etc/tomoyo
-mv $RPM_BUILD_ROOT/usr/%_lib/tomoyo/tomoyotools.conf $RPM_BUILD_ROOT/etc
+make INSTALLDIR=$RPM_BUILD_ROOT USRLIBDIR=%{usrlibdir} install

%clean
rm -rf $RPM_BUILD_ROOT
@@ -62,14 +54,12 @@
%files
%defattr(-, root, root)
%doc COPYING.tomoyo README.tomoyo
-%dir /etc/tomoyo
%attr(700,root,root) /sbin/tomoyo-init
-%_libdir/lib*.so*
-%dir %_libdir/tomoyo
-%_libdir/tomoyo/*
+%{usrlibdir}/lib*.so*
+%dir %{usrlibdir}/tomoyo
+%{usrlibdir}/tomoyo/*
/usr/sbin/*
/usr/share/man/man8/*
-%config(noreplace) /etc/tomoyotools.conf

%changelog
* Mon Aug 29 2011 aj@xxxxxxx


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >