- 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
This commit is contained in:
Bruno E. O. Meneguele 2017-09-05 17:47:01 -03:00
parent 7a4997ca75
commit d9b7b2657c
3 changed files with 33 additions and 11 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files devel
%{_pkgdocdir}/*.sh
%{_includedir}/*
%{_libdir}/libimaevm.so
%files
%doc ChangeLog README AUTHORS COPYING
%doc ChangeLog README AUTHORS
%license COPYING
%{_bindir}/*
%{_pkgdocdir}/*.sh
%{_libdir}/libimaevm.*
%{_includedir}/*
%{_libdir}/libimaevm.so.*
%{_mandir}/man1/*
%changelog
* Tue Sep 05 2017 Bruno E. O. Meneguele <brdeoliv@redhat.com> - 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 <releng@fedoraproject.org> - 0.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
b4005df0bcf63ec33744c6dea5e670b2 ima-evm-utils-0.9.tar.gz
SHA512 (ima-evm-utils-1.0.tar.gz) = f7edec4c2cd0f72291045c0096d198bff49bf892f5c5f7bf772f104613295e7522e96cccb89261c0ac035b0265c9574c14758359ab84c47180095630cf60802a