Hello community, here is the log from the commit of package eiciel for openSUSE:Factory checked in at 2018-10-02 19:49:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eiciel (Old) and /work/SRC/openSUSE:Factory/.eiciel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "eiciel" Tue Oct 2 19:49:03 2018 rev:41 rq:639460 version:0.9.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/eiciel/eiciel.changes 2018-01-24 15:29:02.498466943 +0100 +++ /work/SRC/openSUSE:Factory/.eiciel.new/eiciel.changes 2018-10-02 19:49:35.657695545 +0200 @@ -1,0 +2,9 @@ +Fri Sep 28 10:39:05 UTC 2018 - [email protected] + +- Add eiciel-sys-xattr.patch -- <attr/xattr.h> is deprecated, use + <sys/xattr.h> instead. Also use sed to replace the relevant parts + of configure. +- Run spec-cleaner, modernize specfile. +- Apply translation-update also for openSUSE, drop conditionals. + +------------------------------------------------------------------- New: ---- eiciel-sys-xattr.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eiciel.spec ++++++ --- /var/tmp/diff_new_pack.OUvsbP/_old 2018-10-02 19:49:36.113695070 +0200 +++ /var/tmp/diff_new_pack.OUvsbP/_new 2018-10-02 19:49:36.117695065 +0200 @@ -12,7 +12,7 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,22 +22,23 @@ Version: 0.9.12.1 Release: 0 Summary: GNOME ACL viewer and editor -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/GUI/GNOME -Url: http://rofi.roger-ferrer.org/eiciel/ -Source: http://rofi.roger-ferrer.org/eiciel/files/%{name}-%{version}.tar.bz2 +URL: http://rofi.roger-ferrer.org/eiciel/ +Source0: http://rofi.roger-ferrer.org/eiciel/files/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM eiciel-sys-xattr.patch -- <attr/xattr.h> is deprecated, use <sys/xattr.h> instead +Patch0: eiciel-sys-xattr.patch + BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libacl-devel BuildRequires: libattr-devel -%if !0%{?is_opensuse} +BuildRequires: pkgconfig BuildRequires: translation-update-upstream -%endif BuildRequires: update-desktop-files BuildRequires: pkgconfig(gtkmm-3.0) >= 3.0.0 BuildRequires: pkgconfig(libnautilus-extension) >= 3.0.0 Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Eiciel allows you to visually edit file ACL entries. You can add and @@ -56,10 +57,9 @@ %lang_package %prep -%setup -q -%if !0%{?is_opensuse} +%autosetup -p1 +sed -i -e 's!attr/xattr\.h!sys/xattr\.h!g' configure translation-update-upstream -%endif %build %configure \ @@ -74,14 +74,14 @@ %fdupes %{buildroot}%{_datadir} %files -%defattr (-, root, root) -%doc AUTHORS COPYING ChangeLog NEWS README +%license COPYING +%doc AUTHORS ChangeLog NEWS README %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ %doc %{_datadir}/gnome/help/%{name}/C/ %{_bindir}/eiciel -%doc %{_mandir}/man1/eiciel.1%{?ext_man} +%{_mandir}/man1/eiciel.1%{?ext_man} %{_datadir}/applications/org.roger-ferrer.Eiciel.desktop %{_datadir}/eiciel/ %{_datadir}/icons/hicolor/*/apps/eiciel.* @@ -89,10 +89,8 @@ %{_datadir}/metainfo/org.roger-ferrer.Eiciel.appdata.xml %files -n nautilus-eiciel -%defattr (-, root, root) %{_libnautilus_extensiondir}/libeiciel-nautilus.so %files lang -f %{name}.lang -%defattr(-,root,root) %changelog ++++++ eiciel-sys-xattr.patch ++++++ diff -Naur eiciel-0.9.12.1-orig/src/xattr_manager.hpp eiciel-0.9.12.1/src/xattr_manager.hpp --- eiciel-0.9.12.1-orig/src/xattr_manager.hpp 2014-08-20 10:06:00.000000001 +0200 +++ eiciel-0.9.12.1/src/xattr_manager.hpp 2018-07-19 23:56:41.945902210 +0200 @@ -26,7 +26,10 @@ #include <sys/stat.h> #include <unistd.h> -#include <attr/xattr.h> +#include <sys/xattr.h> +#ifndef ENOATTR +#define ENOATTR ENODATA +#endif #include <string> #include <cstring>
