Accepting request 712981 from devel:openSUSE:Factory:Apps

- 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/request/show/712981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gparted?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2019-07-04 13:42:44 +00:00 committed by Git OBS Bridge
commit 3a6d509286
2 changed files with 40 additions and 32 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jul 2 06:51:26 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- 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

View File

@ -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