Summary: Fork of Google's cmockery unit testing framework
Summary(pl.UTF-8): Odgałęzienie szkieletu testów jednostkowych cmockery Google'a
Name: cmocka
-Version: 1.0.0
-Release: 2
+Version: 1.1.5
+Release: 1
License: Apache v2.0
Group: Libraries
-#Source0Download: https://open.cryptomilk.org/projects/cmocka/files
-Source0: https://open.cryptomilk.org/attachments/download/54/%{name}-%{version}.tar.xz
-# Source0-md5: 3e68580d9c97601dd983cf098931f987
-Patch0: %{name}-function.patch
-URL: http://cmocka.org/
-BuildRequires: cmake >= 2.6.0
+Source0: https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz
+# Source0-md5: 91f95cd5db88b9b120d191b18d367193
+URL: https://cmocka.org/
+BuildRequires: cmake >= 3.5.0
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
cmocka is a fork for Google's cmockery unit testing framework
-(<https://code.google.com/p/cmockery/>) to fix bugs and support it in
+(<https://github.com/google/cmockery>) to fix bugs and support it in
future.
%description -l pl.UTF-8
cmocka to odgałęzienie szkieletu testów jednostkowych cmockery
-Google'a (<https://code.google.com/p/cmockery/>) mające na celu
+Google'a (<https://github.com/google/cmockery>) mające na celu
poprawienie błędów i wsparcie w przyszłości.
%package devel
%prep
%setup -q
-%patch0 -p1
%build
install -d build
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
+%doc AUTHORS ChangeLog README.md
%attr(755,root,root) %{_libdir}/libcmocka.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libcmocka.so.0