Logoj0ke.net Open Build Service > Projects > devel:libs > json-c > Changes
Sign Up | Log In

Changes of Revision 3

[-] Changed json-c.spec
x
 
1
@@ -80,7 +80,7 @@
2
 Group:          Documentation/Other
3
 Provides:       %{oldlibname}-doc = %{version}
4
 Obsoletes:      %{oldlibname}-doc < %{version}
5
-%if 0%{suse_version} >= 1120
6
+%if 0%{?suse_version} >= 1120
7
 BuildArch:      noarch
8
 %endif
9
 
10
@@ -106,7 +106,7 @@
11
 %{__make} %{?_smp_mflags} check
12
 
13
 %install
14
-%makeinstall DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir}
15
+%__make DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} install
16
 rm -Rf "%buildroot/%_libdir"/*.la
17
 # create a compatibilty pkg-config file for software needing it
18
 (cd $RPM_BUILD_ROOT%{_libdir}/pkgconfig && ln -s json-c.pc json.pc)
19