Use the %{name} macro where appropriate

This commit is contained in:
Rui Matos 2014-11-12 17:05:38 +01:00
parent 5239d8ac87
commit efd567f594

View File

@ -42,13 +42,13 @@ Conflicts: gnome-shell < 3.7.90
%description %description
The gnome-desktop package contains an internal library The %{name} package contains an internal library
(libgnomedesktop) used to implement some portions of the GNOME (libgnomedesktop) used to implement some portions of the GNOME
desktop, and also some data files and other shared components of the desktop, and also some data files and other shared components of the
GNOME user environment. GNOME user environment.
%package devel %package devel
Summary: Libraries and headers for libgnome-desktop Summary: Libraries and headers for %{name}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -58,13 +58,13 @@ Libraries and header files for the GNOME-internal private library
libgnomedesktop. libgnomedesktop.
%package tests %package tests
Summary: Tests for the gnome-desktop3 package Summary: Tests for the %{name} package
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests %description tests
The gnome-desktop3-tests package contains tests that can be used to verify The %{name}-tests package contains tests that can be used to verify
the functionality of the installed gnome-desktop3 package. the functionality of the installed %{name} package.
%prep %prep
%setup -q -n gnome-desktop-%{version} %setup -q -n gnome-desktop-%{version}