ObjFW  Diff

Differences From Artifact [0940517b18]:

  • File objfw.spec — part of check-in [89234a6f0d] at 2021-09-04 19:59:28 on branch trunk — objfw.spec: Unconditionally (re)generate configure Using %generate_buildrequires does not seem to work on Copr. (user: js size: 15349)

To Artifact [c6704c25c0]:

  • File objfw.spec — part of check-in [be8865bcd2] at 2021-09-05 20:19:03 on branch trunk — Don't automatically run tests This avoids running them twice (once on make and once on make install) and potentially running them as root (during make install). (user: js size: 15375) [more...]

129
130
131
132
133
134
135



136
137
138
139
140
141
142
%build
%configure --disable-rpath
%make_build

%install
%make_install




%if 0%{?suse_version}
%post -n %{libobjfw_pkgname} -p /sbin/ldconfig
%postun -n %{libobjfw_pkgname} -p /sbin/ldconfig
%post -n %{libobjfwrt_pkgname} -p /sbin/ldconfig
%postun -n %{libobjfwrt_pkgname} -p /sbin/ldconfig
%endif








>
>
>







129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
%build
%configure --disable-rpath
%make_build

%install
%make_install

%check
make -C tests run

%if 0%{?suse_version}
%post -n %{libobjfw_pkgname} -p /sbin/ldconfig
%postun -n %{libobjfw_pkgname} -p /sbin/ldconfig
%post -n %{libobjfwrt_pkgname} -p /sbin/ldconfig
%postun -n %{libobjfwrt_pkgname} -p /sbin/ldconfig
%endif