diff --git a/Field3D.spec b/Field3D.spec index 7f62c1a..75ea313 100644 --- a/Field3D.spec +++ b/Field3D.spec @@ -6,7 +6,7 @@ Summary: Library for storing voxel data License: BSD URL: https://sites.google.com/site/field3d/ -Source0: https://github.com/imageworks/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/imageworks/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: Field3D-unit_test.patch @@ -34,8 +34,7 @@ Development headers and documentation for %{name}. # Need devel-docs subpackage. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build @@ -43,8 +42,7 @@ rm -rf build && mkdir build && pushd build %cmake -DINSTALL_DOCS=OFF \ ../ -make %{?_smp_mflags} -popd +%make_build %install @@ -58,12 +56,6 @@ install -D -m 0644 man/f3dinfo.1 %{buildroot}%{_mandir}/man1/f3dinfo.1 %check pushd build ./unitTest -popd - - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig %files