From 399a56b3769bc145971b2c5277404aa0c70182c0 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Nov 15 2016 03:26:52 +0000 Subject: libyui-mga-ncurses: Cleanups, bump Release - Use %global instead of %define - Get tarball from Bitbucket --- diff --git a/libyui-mga-ncurses/.gitignore b/libyui-mga-ncurses/.gitignore index 1e16bbf..ade46bb 100644 --- a/libyui-mga-ncurses/.gitignore +++ b/libyui-mga-ncurses/.gitignore @@ -1 +1,2 @@ /*.src.rpm +/89fe1bc6fa00f84e45933d93b3f4023e4e7d121b.tar.bz2 diff --git a/libyui-mga-ncurses/libyui-mga-ncurses.spec b/libyui-mga-ncurses/libyui-mga-ncurses.spec index 0ea7e4b..180c953 100644 --- a/libyui-mga-ncurses/libyui-mga-ncurses.spec +++ b/libyui-mga-ncurses/libyui-mga-ncurses.spec @@ -1,15 +1,16 @@ -%define git "" -%define gitdate 20151019 -%define major 7 +# the git hash corresponding to the release, it is not tagged +%global githash 89fe1bc6fa00f84e45933d93b3f4023e4e7d121b + +%global major 7 Name: libyui-mga-ncurses Version: 1.0.2 -Release: 0.1%{?dist} +Release: 1%{?dist} Summary: UI abstraction library - Mageia extension ncurses plugin License: LGPLv2+ -Url: https://bitbucket.org/_pmat_/libyui-mga-ncurses -Source0: %{name}-%{version}.tar.bz2 +Url: https://bitbucket.org/_pmat_/%{name} +Source0: %{url}/get/%{githash}.tar.bz2 BuildRequires: libyui-devel >= 3.1.2 BuildRequires: libyui-ncurses-devel @@ -59,7 +60,7 @@ This package provides headers files for libyui-mga-ncurses development. #----------------------------------------------------------------------- %prep -%setup -q +%setup -q -n _pmat_-%{name}-%(echo %{githash} | cut -c -12) %autopatch -p1 %build @@ -82,6 +83,10 @@ find "%{buildroot}" -name "*.la" -delete %changelog +* Tue Nov 15 2016 Kevin Kofler - 1.0.2-1 +- Use %%global instead of %%define +- Get tarball from Bitbucket + * Thu Apr 7 2016 Neal Gompa 1.0.2-0.1 - Initial package based on Mageia package