diff --git a/.gitignore b/.gitignore index c2f9acb..7849333 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /api-sanity-checker-1.12.10.tar.gz /api-sanity-checker-1.98.tar.gz /api-sanity-checker-1.98.6.tar.gz +/api-sanity-checker-1.98.7.tar.gz diff --git a/api-sanity-checker.spec b/api-sanity-checker.spec index 66ce05f..eff5cca 100644 --- a/api-sanity-checker.spec +++ b/api-sanity-checker.spec @@ -1,13 +1,14 @@ +%global commit ed74fbc05c007696b31db207d44af1372067ccf9 + Name: api-sanity-checker -Version: 1.98.6 -Release: 4%{?dist} +Version: 1.98.7 +Release: 1%{?dist} Summary: An automatic generator of basic unit tests for a shared C/C++ library License: GPLv2 URL: http://forge.ispras.ru/projects/api-sanity-autotest -Source0: http://forge.ispras.ru/attachments/download/1278/%{name}-%{version}.tar.gz - -Patch0: api-sanity-checker-1.98.6-fix_perm.patch +# https://github.com/lvc/api-sanity-checker/archive/%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: help2man @@ -35,7 +36,6 @@ features. %prep %setup -q -%patch0 -p1 chmod -x LICENSE @@ -56,13 +56,23 @@ sed -i '3,5d' %{buildroot}%{_mandir}/man1/api-sanity-checker.1 %files -%doc LICENSE README doc/* +%if 0%{?rhel} < 7 || 0%{?fedora} < 21 +%doc LICENSE +%else +%license LICENSE +%endif +%doc README doc/* %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz %{_datadir}/%{name} %changelog +* Tue Sep 8 2015 Richard Shaw - 1.98.7-1 +- Update to latest upstream release. +- Update spec to use license macro on supported branches. +- Remove upstreamed patch. + * Wed Jun 17 2015 Fedora Release Engineering - 1.98.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 2686d48..d3b9403 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6bca8e90f73a14283a4a85b788d86197 api-sanity-checker-1.98.6.tar.gz +420383daff6d30a5daecb8374b79b694 api-sanity-checker-1.98.7.tar.gz