diff --git a/libaesgm.spec b/libaesgm.spec index 8d8c246..288a079 100644 --- a/libaesgm.spec +++ b/libaesgm.spec @@ -1,6 +1,6 @@ Name: libaesgm Version: 20090429 -Release: 16%{?dist} +Release: 17%{?dist} License: BSD Summary: Library implementation of AES (Rijndael) cryptographic methods URL: http://gladman.plushost.co.uk/oldsite/AES/index.php @@ -9,14 +9,15 @@ Source1: Makefile.aes # Add fileencryption support # http://www.gladman.me.uk/cryptography_technology/fileencrypt/ Patch0: libaesgm-20090429-fileencrypt.patch -Group: System Environment/Libraries + +BuildRequires: gcc +BuildRequires: make %description Library implementation of AES (Rijndael) cryptographic methods. %package devel Summary: Development files for libaesgm -Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel @@ -29,7 +30,7 @@ cp %{SOURCE1} Makefile sed -i 's/\r//' *.txt %build -make CFLAGS="%{optflags} -fPIC -DUSE_SHA1" +make CFLAGS="%{optflags} -fPIC -DUSE_SHA1" LDFLAGS="${build_ldflags}" %install make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" install @@ -44,11 +45,16 @@ make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" install %{_libdir}/libaesgm.so.* %files devel -%defattr(-,root,root,-) %{_includedir}/aes/ %{_libdir}/libaesgm.so %changelog +* Sat Feb 24 2018 Florian Weimer - 20090429-17 +- Use LDFLAGS from redhat-rpm-config +- Remove "%defattr(-,root,root,-)" +- Remove "Group:" +- Add BuildRequires for gcc, make + * Wed Feb 07 2018 Fedora Release Engineering - 20090429-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild