From d9b7b2657cde84beab1102d7a298e5fd706857b6 Mon Sep 17 00:00:00 2001 From: Bruno E. O. Meneguele Date: Sep 06 2017 18:18:30 +0000 Subject: - New upstream release - Add OpenSSL 1.0 compatibility package, due to issues with OpenSSL 1.1 (BZ#1423736) - Remove libtool files - Run ldconfig after un/installation to update *.so files - Add -devel subpackage to handle include files and examples --- diff --git a/.gitignore b/.gitignore index c40b7ea..c7cea8a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /ima-evm-utils-0.6.tar.gz /ima-evm-utils-0.9.tar.gz +/ima-evm-utils-1.0.tar.gz diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec index fd21562..ef44ca8 100644 --- a/ima-evm-utils.spec +++ b/ima-evm-utils.spec @@ -1,13 +1,12 @@ Summary: IMA/EVM support utilities Name: ima-evm-utils -Version: 0.9 -Release: 7%{?dist} +Version: 1.0 +Release: 1%{?dist} License: GPLv2 Url: http://linux-ima.sourceforge.net/ Source: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz -Group: Applications/Internet BuildRequires: autoconf automake libtool m4 asciidoc libxslt -BuildRequires: openssl-devel libattr-devel keyutils-libs-devel +BuildRequires: compat-openssl10-devel libattr-devel keyutils-libs-devel Patch1: manpage.patch %description @@ -18,29 +17,51 @@ systems extended attributes. The Extended Verification Module (EVM) prevents unauthorized changes to these extended attributes on the file system. ima-evm-utils is used to prepare the file system for these extended attributes. +%package devel +Summary: Development files for %{name} + +%description devel +This package provides the header files for %{name} + %prep %setup -q %patch1 -p1 %build -#Is running autoreconf a good idea mkdir -p m4 autoreconf -f -i -%configure +%configure --disable-static make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install +find %{buildroot}%{_libdir} -type f -name "*.a" -print -delete +find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete -%files -%doc ChangeLog README AUTHORS COPYING -%{_bindir}/* +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files devel %{_pkgdocdir}/*.sh -%{_libdir}/libimaevm.* %{_includedir}/* +%{_libdir}/libimaevm.so + +%files +%doc ChangeLog README AUTHORS +%license COPYING +%{_bindir}/* +%{_libdir}/libimaevm.so.* %{_mandir}/man1/* %changelog +* Tue Sep 05 2017 Bruno E. O. Meneguele - 1.0-1 +- New upstream release +- Add OpenSSL 1.0 compatibility package, due to issues with OpenSSL 1.1 +- Remove libtool files +- Run ldconfig after un/installation to update *.so files +- Add -devel subpackage to handle include files and examples + * Wed Aug 02 2017 Fedora Release Engineering - 0.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 336b40a..17e6d4e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b4005df0bcf63ec33744c6dea5e670b2 ima-evm-utils-0.9.tar.gz +SHA512 (ima-evm-utils-1.0.tar.gz) = f7edec4c2cd0f72291045c0096d198bff49bf892f5c5f7bf772f104613295e7522e96cccb89261c0ac035b0265c9574c14758359ab84c47180095630cf60802a