!2 modify spec
From: @dou33 Reviewed-by: @handsome_feng Signed-off-by: @handsome_feng
This commit is contained in:
commit
dd2abc8d85
23
pluma.spec
23
pluma.spec
@ -15,19 +15,15 @@
|
|||||||
Summary: Text editor for the MATE desktop
|
Summary: Text editor for the MATE desktop
|
||||||
Name: pluma
|
Name: pluma
|
||||||
Version: %{branch}.2
|
Version: %{branch}.2
|
||||||
%if 0%{?rel_build}
|
Release: 2
|
||||||
Release: 1
|
|
||||||
%else
|
|
||||||
Release: 0.7%{?git_rel}
|
|
||||||
%endif
|
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: http://mate-desktop.org
|
URL: http://mate-desktop.org
|
||||||
|
|
||||||
# for downloading the tarball use 'spectool -g -R pluma.spec'
|
# for downloading the tarball use 'spectool -g -R pluma.spec'
|
||||||
# Source for release-builds.
|
# Source for release-builds.
|
||||||
%{?rel_build:Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
|
Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
|
||||||
# Source for snapshot-builds.
|
|
||||||
%{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
|
|
||||||
|
|
||||||
# https://github.com/mate-desktop/pluma/commit/e88a2ea
|
# https://github.com/mate-desktop/pluma/commit/e88a2ea
|
||||||
Patch1: pluma_0001-Reindent-all-Python-sources-to-ts-4.-Strip-trailing-1.22.patch
|
Patch1: pluma_0001-Reindent-all-Python-sources-to-ts-4.-Strip-trailing-1.22.patch
|
||||||
@ -60,10 +56,6 @@ Requires: mate-desktop-libs
|
|||||||
# Requires: caja-schemas
|
# Requires: caja-schemas
|
||||||
# the run-command plugin uses zenity
|
# the run-command plugin uses zenity
|
||||||
Requires: zenity
|
Requires: zenity
|
||||||
# libpeas isn't splited in rhel7
|
|
||||||
%if 0%{?fedora} && 0%{?fedora} <= 29
|
|
||||||
Requires: libpeas-loader-python3
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pluma is a small, but powerful text editor designed specifically for
|
pluma is a small, but powerful text editor designed specifically for
|
||||||
@ -95,11 +87,7 @@ Development files for pluma
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%if 0%{?rel_build}
|
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
%else
|
|
||||||
%autosetup -n %{name}-%{commit} -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?rel_build}
|
%if 0%{?rel_build}
|
||||||
# for releases
|
# for releases
|
||||||
@ -169,5 +157,8 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 11 2020 douyan <douyan@kylinos.cn> - 1.22.2-2
|
||||||
|
- modify spec file
|
||||||
|
|
||||||
* Fri Dec 11 2020 douyan <douyan@kylinos.cn> - 1.22.2-1
|
* Fri Dec 11 2020 douyan <douyan@kylinos.cn> - 1.22.2-1
|
||||||
- package init for openEuler
|
- package init for openEuler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user