From a1f287c985c990bea2c155a783e2509b7feef916784e5bf3d8c407f63c4d3be8 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 2 Jul 2019 06:52:40 +0000 Subject: [PATCH] - Change filesystem related Requires to Recommends: on a default setup, this equals to no change, but the users have the choice to remove/block filesystem packages they do not care for (boo#1139018). OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:Apps/gparted?expand=0&rev=15 --- gparted.changes | 8 +++++++ gparted.spec | 64 ++++++++++++++++++++++++------------------------- 2 files changed, 40 insertions(+), 32 deletions(-) diff --git a/gparted.changes b/gparted.changes index e2133b8..7e2a55f 100644 --- a/gparted.changes +++ b/gparted.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jul 2 06:51:26 UTC 2019 - Dominique Leuenberger + +- Change filesystem related Requires to Recommends: on a default + setup, this equals to no change, but the users have the choice to + remove/block filesystem packages they do not care for + (boo#1139018). + ------------------------------------------------------------------- Wed Jun 05 19:29:19 UTC 2019 - enzokiel@kabelmail.de diff --git a/gparted.spec b/gparted.spec index d16d5df..c1c67d5 100644 --- a/gparted.spec +++ b/gparted.spec @@ -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/ # @@ -20,9 +20,9 @@ Name: gparted Version: 1.0.0 Release: 0 Summary: Gnome Partition Editor -License: GPL-2.0 +License: GPL-2.0-only Group: System/Filesystems -Url: http://gparted.sourceforge.net/ +URL: http://gparted.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz Source1: http://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz.sig Source98: %{name}.policy @@ -32,37 +32,37 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: perl-XML-Parser +BuildRequires: pkgconfig BuildRequires: polkit BuildRequires: scrollkeeper +BuildRequires: update-desktop-files +BuildRequires: xfsprogs-devel +BuildRequires: yelp-tools +BuildRequires: pkgconfig(glibmm-2.4) >= 2.32 +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(gtkmm-3.0) >= 3.4.0 +BuildRequires: pkgconfig(libparted) >= 2.2 +BuildRequires: pkgconfig(sigc++-2.0) >= 2.5.1 +Requires: gpart +Requires: hdparm +Requires: mtools +Requires: parted +Requires: polkit +Requires: util-linux +Requires: xdg-utils +Recommends: btrfsprogs >= 4.1 +Recommends: cryptsetup +Recommends: e2fsprogs +Recommends: hfsutils +Recommends: jfsutils +Recommends: nilfs-utils +Recommends: ntfsprogs +Recommends: reiserfs +Recommends: udftools +Recommends: xfsprogs %if !0%{?is_opensuse} BuildRequires: translation-update-upstream %endif -BuildRequires: update-desktop-files -BuildRequires: yelp-tools -BuildRequires: xfsprogs-devel -BuildRequires: pkgconfig(glibmm-2.4) >= 2.32 -BuildRequires: pkgconfig(gtkmm-3.0) >= 3.4.0 -BuildRequires: pkgconfig(gthread-2.0) -BuildRequires: pkgconfig(libparted) >= 2.2 -BuildRequires: pkgconfig(sigc++-2.0) >= 2.5.1 -Requires: btrfsprogs >= 4.1 -Requires: cryptsetup -Requires: e2fsprogs -Requires: hdparm -Requires: hfsutils -Requires: jfsutils -Requires: mtools -Requires: nilfs-utils -Requires: ntfsprogs -Requires: parted -Requires: polkit -Requires: reiserfs -Requires: util-linux -Requires: xdg-utils -Requires: xfsprogs -Recommends: gpart -Recommends: udftools -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GParted is an industrial-strength package for creating, destroying, resizing, @@ -72,6 +72,7 @@ copying data residing on hard disks and mirroring one partition with another (disk imaging). %lang_package + %prep %setup -q %if !0%{?is_opensuse} @@ -88,7 +89,7 @@ make %{?_smp_mflags} %install %make_install -install -Dm0644 %{S:98} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy +install -Dm0644 %{SOURCE98} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy # Here we remove upstream policy file since we have our own rm %{buildroot}%{_datadir}/polkit-1/actions/org.gnome.%{name}.policy @@ -97,12 +98,11 @@ rm %{buildroot}%{_datadir}/polkit-1/actions/org.gnome.%{name}.policy %find_lang %{name} %{?no_lang_C} %files -%defattr(-,root,root) %doc README ChangeLog AUTHORS NEWS %license COPYING %{_bindir}/%{name} %{_sbindir}/%{name}bin -%{_mandir}/man8/%{name}.8.gz +%{_mandir}/man8/%{name}.8%{?ext_man} %dir %{_datadir}/appdata %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop