Accepting request 435616 from home:pluskalm:branches:devel:libraries:c_c++

- Use current cmake macros

OBS-URL: https://build.opensuse.org/request/show/435616
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmark?expand=0&rev=11
This commit is contained in:
2016-10-16 16:26:24 +00:00
committed by Git OBS Bridge
parent 3ad09033df
commit 759d1dc9c2
2 changed files with 8 additions and 4 deletions
+5
View File
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Oct 16 15:47:56 UTC 2016 - mpluskal@suse.com
- Use current cmake macros
-------------------------------------------------------------------
Wed Aug 31 14:00:14 UTC 2016 - mpluskal@suse.com
+3 -4
View File
@@ -25,10 +25,9 @@ License: BSD-2-Clause and MIT and CC-BY-SA-4.0
Group: Productivity/Text/Utilities
Url: https://github.com/jgm/cmark
Source: https://github.com/jgm/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: cmake >= 3.0.2
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
`cmark` is the C reference implementation of CommonMark,
@@ -66,10 +65,10 @@ This package provides the development files for cmark.
%build
%cmake -DCMARK_TESTS=OFF
make %{?_smp_mflags} V=1
%make_jobs
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%cmake_install
rm %{buildroot}%{_libdir}/libcmark.a
%post -n %{libname} -p /sbin/ldconfig