diff --git a/.gitignore b/.gitignore index 653023f..4567212 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fsverity-utils-1.0.tar.gz +/fsverity-utils-1.1.tar.gz diff --git a/fsverity-utils.spec b/fsverity-utils.spec index e8daa98..678ff54 100644 --- a/fsverity-utils.spec +++ b/fsverity-utils.spec @@ -1,11 +1,11 @@ Name: fsverity-utils -Version: 1.0 -Release: 2%{?dist} +Version: 1.1 +Release: 1%{?dist} Summary: fsverity utilities License: BSD URL: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git -Source0: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git/snapshot/fsverity-utils-1.0.tar.gz +Source0: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git/snapshot/fsverity-utils-1.1.tar.gz BuildRequires: gcc make BuildRequires: kernel-headers glibc-headers @@ -20,23 +20,39 @@ The mechanism is similar to dm-verity, but implemented at the file level rather than at the block device level. The fsverity utility allows you to set up fs-verity protected files. +%package devel +Summary: Development package for fsverity-utils +Group: Development/System +Requires: %{name} = %{version}-%{release} +%description devel +Development package for fsverity-utils. This package includes the +libfsverity header and library files. + %prep %autosetup %{name}-%{version} %build # Install into /usr/bin -sed -ie 's,\(install.*$(DESTDIR)/\)bin,\1usr/bin,' Makefile -make CFLAGS="%{optflags}" %{_smp_mflags} +make CFLAGS="%{optflags} -g" %{_smp_mflags} USE_SHARED_LIB=1 %install -%make_install +%make_install PREFIX=/usr LIBDIR=%{_libdir} CFLAGS="%{optflags} -g" %files %doc README.md %license COPYING %{_bindir}/fsverity +%{_libdir}/*.so* + + +%files devel +%{_includedir}/* +%{_libdir}/*.a %changelog +* Mon Jun 15 2020 Jes Sorensen - 1.1-1 +- Update to version 1.1, split into fsverity-utils and fsverity-utils-devel + * Tue Jan 28 2020 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 3c22a3c..7146ec7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fsverity-utils-1.0.tar.gz) = ceb44b94ee567bace09f8d3850467889bd49b3c43808e2469ba2874482d1b57375761339fda6e6b9e26ec73e44f7113a6dd4aeb3655f7afe95e02f6bfa4f9930 +SHA512 (fsverity-utils-1.1.tar.gz) = 9951ed3aefbc7210a399be91bb5745f299e438fabdeef80a30646507a956a20c0bfbebb4ad2b262efe95698c650c6aeab0e3b989524f253a0bff2858795c216c