From dd3b062ae89b300e22d0185876aefa07ec2514d2 Mon Sep 17 00:00:00 2001 From: dou33 Date: Fri, 11 Dec 2020 16:13:55 +0800 Subject: [PATCH] modify spec --- pluma.spec | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/pluma.spec b/pluma.spec index f6e67bb..0218e94 100644 --- a/pluma.spec +++ b/pluma.spec @@ -15,19 +15,15 @@ Summary: Text editor for the MATE desktop Name: pluma Version: %{branch}.2 -%if 0%{?rel_build} -Release: 1 -%else -Release: 0.7%{?git_rel} -%endif +Release: 2 + License: GPLv2+ and LGPLv2+ URL: http://mate-desktop.org # for downloading the tarball use 'spectool -g -R pluma.spec' # Source for release-builds. -%{?rel_build: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}} +Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz} + # https://github.com/mate-desktop/pluma/commit/e88a2ea 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 # the run-command plugin uses zenity Requires: zenity -# libpeas isn't splited in rhel7 -%if 0%{?fedora} && 0%{?fedora} <= 29 -Requires: libpeas-loader-python3 -%endif %description pluma is a small, but powerful text editor designed specifically for @@ -95,11 +87,7 @@ Development files for pluma %prep -%if 0%{?rel_build} %autosetup -p1 -%else -%autosetup -n %{name}-%{commit} -p1 -%endif %if 0%{?rel_build} # for releases @@ -169,5 +157,8 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';' %changelog +* Fri Dec 11 2020 douyan - 1.22.2-2 +- modify spec file + * Fri Dec 11 2020 douyan - 1.22.2-1 - package init for openEuler