Hello community,

here is the log from the commit of package hxtools for openSUSE:Factory checked 
in at 2012-03-20 11:27:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hxtools (Old)
 and      /work/SRC/openSUSE:Factory/.hxtools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hxtools", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/hxtools/hxtools.changes  2012-01-09 
16:21:39.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.hxtools.new/hxtools.changes     2012-03-20 
11:27:38.000000000 +0100
@@ -1,0 +2,13 @@
+Mon Mar 12 11:27:33 UTC 2012 - [email protected]
+
+- license update: GPL-2.0+
+  spec file license should be in SPDX (compatible) format. GPL-2.0+ seems
+  to be the most appropriate license choice for the resulting binary (no
+  GPL-3.0 except for as choice in dual license situation)
+
+-------------------------------------------------------------------
+Sat Feb 25 10:00:17 UTC 2012 - [email protected]
+
+- Avoid fdupes-induced hardlink across partitions
+
+-------------------------------------------------------------------

New:
----
  7a4b085-capabilities.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hxtools.spec ++++++
--- /var/tmp/diff_new_pack.uCB4uO/_old  2012-03-20 11:27:39.000000000 +0100
+++ /var/tmp/diff_new_pack.uCB4uO/_new  2012-03-20 11:27:39.000000000 +0100
@@ -15,23 +15,41 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:           hxtools
 Version:        20120107
 Release:        0
-Group:          System/Base
 Url:            http://jengelh.medozas.de/projects/hxtools/
 Summary:        Collection of day-to-day tools (binaries)
+License:        GPL-2.0+
+Group:          System/Base
 
 Source:         %name-%version.tar.xz
 Source2:        %name-%version.tar.xz.asc
-License:        GPL,PD
+Patch1:         7a4b085-capabilities.diff
+BuildRequires:  fdupes
+BuildRequires:  libcap-devel >= 2
 # xorg-x11 for "bdftopcf"
-BuildRequires:  libcap-devel xorg-x11 xz
-BuildRequires:  pkgconfig >= 0.23 pkgconfig(libHX) >= 3.12
+%if 0%{?suse_version}
+BuildRequires:  xorg-x11
+%endif
+%if 0%{?rhel_version} || 0%{?fedora_version}
+BuildRequires:  bdftopcf
+%endif
+BuildRequires:  pkgconfig >= 0.21
+BuildRequires:  xz
+%if 0%{?suse_version} >= 1130
+BuildRequires:  pkgconfig(libHX) >= 3.12
+%else
+BuildRequires:  libHX-devel >= 3.12
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Recommends:     %name-scripts = %version, %name-man = %version
+
+Requires:       %name-scripts = %version
+%if 0%{?suse_version} >= 1100
+Recommends:     %name-man = %version
+%else
+Requires:       %name-man = %version
+%endif
 
 %define build_profile 1
 
@@ -47,10 +65,17 @@
 * vfontas(1) — VGA font file assembler
 
 %package scripts
-Group:          System/Base
 Summary:        Collection of day-to-day tools (scripts)
+Group:          System/Base
+%if 0%{?suse_version} >= 1120
 BuildArch:      noarch
-Recommends:     %name, %name-man
+%endif
+Requires:       %name
+%if 0%{?suse_version} >= 1100
+Recommends:     %name-man
+%else
+Requires:       %name-man
+%endif
 Requires:       perl(Data::Dumper), perl(File::Find)
 Requires:       perl(File::Find::Rule)
 Requires:       perl(Getopt::Long), perl(IPC::Open2), perl(Text::CSV_XS)
@@ -81,18 +106,22 @@
 * wktimer(1) — work timer
 
 %package man
-Group:          Documentation/Man
 Summary:        Manual pages for the hxtools suite
+Group:          Documentation/Man
+%if 0%{?suse_version} >= 1120
 BuildArch:      noarch
+%endif
 
 %description man
 This package contains the manual pages for the binaries and scripts
 from hxtools.
 
 %package data
-Group:          System/Base
 Summary:        Collection of day-to-day tools (data)
+Group:          System/Base
+%if 0%{?suse_version} >= 1120
 BuildArch:      noarch
+%endif
 
 %description data
 Architecture-independent data from hxtools.
@@ -102,11 +131,13 @@
 * additional syntax highlighting definitions for mcedit
 
 %package profile
-Group:          System/Base
 Summary:        The hxtools shell environment
+Group:          System/Base
 Requires:       %name = %version, %name-scripts = %version
 Requires:       %name-data = %version
+%if 0%{?suse_version} >= 1120
 BuildArch:      noarch
+%endif
 
 %description profile
 Bash environment settings from hxtools. Particularly, this provides
@@ -114,7 +145,13 @@
 only important parts of a path.
 
 %prep
+%if 0%{?__xz:1}
 %setup -q
+%else
+tar -xf "%{S:0}" --use=xz;
+%setup -DTq
+%endif
+%patch -P 1 -p1
 
 %build
 %configure \
@@ -132,7 +169,8 @@
 install -dm0755 "$b/%_datadir/mc/syntax";
 install -pm0644 cooledit/*.syntax "$b/%_datadir/mc/syntax/";
 install -dm0755 "$b/%_sysconfdir/openldap/schema";
-install -pm0644 data/rfc2307bis-utf8.schema "$b/%_sysconfdir/openldap/schema/";
+ln -s "%_datadir/hxtools/rfc2307bis-utf8.schema" \
+       "$b/%_sysconfdir/openldap/schema/";
 
 cd "$b";
 find ./%_bindir ./%_libexecdir ! -type d -exec grep -l ELF {} + | \
@@ -149,6 +187,8 @@
 rm -Rf "$b/%_sysconfdir/profile.d" "$b/%_sysconfdir"/hx*;
 %endif
 
+%fdupes %buildroot
+
 %files -f binary.lst
 %defattr(-,root,root)
 %dir %_libexecdir/%name

++++++ 7a4b085-capabilities.diff ++++++
parent e688e5c6d8a9b0032db2218ab71766f11c19d2ca (rel-20120107-4-ge688e5c)
commit 7a4b085d13182f690b1bbdc971401251b6be09a2
Author: Jan Engelhardt <[email protected]>
Date:   Sat Feb 11 02:13:39 2012 +0100

printcaps: guard against non-existing capability defines
---
 sadmin/printcaps.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/sadmin/printcaps.c b/sadmin/printcaps.c
index bb957e3..bd14d6c 100644
--- a/sadmin/printcaps.c
+++ b/sadmin/printcaps.c
@@ -47,9 +47,15 @@ static const char *const cap_names[] = {
        E(LEASE),
        E(AUDIT_WRITE),
        E(AUDIT_CONTROL),
+#ifdef CAP_SETFCAP
        E(SETFCAP),
+#endif
+#ifdef CAP_MAC_OVERRIDE
        E(MAC_OVERRIDE),
+#endif
+#ifdef CAP_MAC_ADMIN
        E(MAC_ADMIN),
+#endif
 #undef E
 };
 
-- 
# Created with git-export-patch


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to