From c62025afbf9f0fa4d2ca2040e14379cd90656b77 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Nov 15 2016 03:12:26 +0000 Subject: Update libyui-mga to post-1.0.7 snapshot - Change URL to Bitbucket - Use %global instead of %define - Update to post-1.0.7 snapshot a6a160e6e2387e63735228dee818e4b448e2a933 --- diff --git a/libyui-mga/.gitignore b/libyui-mga/.gitignore index 1e16bbf..2ffa30c 100644 --- a/libyui-mga/.gitignore +++ b/libyui-mga/.gitignore @@ -1 +1,2 @@ /*.src.rpm +/a6a160e6e2387e63735228dee818e4b448e2a933.tar.bz2 diff --git a/libyui-mga/libyui-mga.spec b/libyui-mga/libyui-mga.spec index 353c161..a412e6d 100644 --- a/libyui-mga/libyui-mga.spec +++ b/libyui-mga/libyui-mga.spec @@ -1,16 +1,18 @@ -%define git %{nil} -%define gitdate 20160118 -%define major 7 -%define libyui_ver 3.2.5 +# post-1.0.7 snapshot +%global snapdate 20160313 +%global githash a6a160e6e2387e63735228dee818e4b448e2a933 + +%global major 7 +%global libyui_ver 3.2.5 Name: libyui-mga Version: 1.0.7 -Release: 0.1%{?dist} +Release: 1.%{snapdate}git%(echo %{githash} | cut -c -13)%{?dist} Summary: UI abstraction library - Mageia extension widget base plugin License: LGPLv2+ -Url: https://github.com/xquiet/libyui-mga -Source0: %{name}-%{version}.tar.bz2 +Url: https://bitbucket.org/_pmat_/%{name} +Source0: %{url}/get/%{githash}.tar.bz2 BuildRequires: libpng-devel BuildRequires: libyui-devel @@ -57,7 +59,7 @@ This package provides headers files for libyui-mga development. #----------------------------------------------------------------------- %prep -%setup -q +%setup -q -n _pmat_-%{name}-%(echo %{githash} | cut -c -12) %autopatch -p1 %build @@ -81,5 +83,10 @@ find "%{buildroot}" -name "*.la" -delete %changelog +* Tue Nov 15 2016 Kevin Kofler - 1.0.7-1.20160313gita6a160e6e2387 +- Change URL to Bitbucket +- Use %%global instead of %%define +- Update to post-1.0.7 snapshot a6a160e6e2387e63735228dee818e4b448e2a933 + * Wed Apr 06 2016 Neal Gompa - 1.0.7-0.1 - Build for Fedora based on Mageia package