diff --git a/mate-applets.spec b/mate-applets.spec index 0fc8683f00e5f068e16df408c4216f5b841e7cf3..af51ae91661f1ebaa952d938323bcdbeb44abf53 100644 --- a/mate-applets.spec +++ b/mate-applets.spec @@ -1,29 +1,24 @@ -# Conditional for release and snapshot builds. Uncomment for release-builds. -%global rel_build 1 - # This is needed, because src-url contains branched part of versioning-scheme. %global branch 1.26 # Settings used for build from snapshots. -%{!?rel_build:%global commit c3b48ea39ab358b45048e300deafaa3f569748ad} -%{!?rel_build:%global commit_date 20140211} -%{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})} -%{!?rel_build:%global git_ver git%{commit_date}-%{shortcommit}} -%{!?rel_build:%global git_rel .git%{commit_date}.%{shortcommit}} -%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz} +%global commit c3b48ea39ab358b45048e300deafaa3f569748ad +%global commit_date 20140211 +%global shortcommit %(c=%{commit};echo ${c:0:7}) +%global git_ver git%{commit_date}-%{shortcommit} +%global git_rel .git%{commit_date}.%{shortcommit} +%global git_tar %{name}-%{version}-%{git_ver}.tar.xz Name: mate-applets Version: %{branch}.1 -Release: 1 +Release: 2 Summary: MATE Desktop panel applets License: GPLv2+ and LGPLv2+ URL: http://mate-desktop.org # for downloading the tarball use 'spectool -g -R mate-applets.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 BuildRequires: gucharmap-devel BuildRequires: libgtop2-devel @@ -59,19 +54,9 @@ Obsoletes: mate-netspeed < %{version}-%{release} MATE Desktop panel applets %prep -%if 0%{?rel_build} %autosetup -p1 -%else -%autosetup -n %{name}-%{commit} -p1 -%endif %build -%if 0%{?rel_build} -#NOCONFIGURE=1 ./autogen.sh -%else # 0%{?rel_build} -# needed for git snapshots -NOCONFIGURE=1 ./autogen.sh -%endif # 0%{?rel_build} %configure \ --disable-schemas-compile \ @@ -133,6 +118,9 @@ make %{?_smp_mflags} V=1 %changelog +* Wed Dec 04 2024 zhangtao - 1.26.1-2 +- remove no use code + * Mon Aug 19 2024 yueyaoqiang - 1.26.1-1 - update to 1.26.1