From 70e8e99404d5c42cebdbc92715f66cff037bfab6f6948bb82d2f3c4adf99cb2c Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 1 Apr 2017 07:02:57 +0000 Subject: [PATCH] - Cleanup spec file with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/aespipe?expand=0&rev=14 --- aespipe.changes | 5 +++++ aespipe.spec | 18 ++++++------------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/aespipe.changes b/aespipe.changes index 8d0a521..bdf07d2 100644 --- a/aespipe.changes +++ b/aespipe.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 1 07:02:38 UTC 2017 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner + ------------------------------------------------------------------- Fri Mar 31 21:07:06 UTC 2017 - meissner@suse.com diff --git a/aespipe.spec b/aespipe.spec index d39a73c..4d57548 100644 --- a/aespipe.spec +++ b/aespipe.spec @@ -26,7 +26,7 @@ Url: http://loop-aes.sourceforge.net/ Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2 BuildRequires: autoconf BuildRequires: automake -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gpg %description aespipe program is AES encrypting or decrypting pipe. It reads from standard @@ -40,30 +40,24 @@ patch < aes-GPL.diff %build autoreconf -fiv -%if %suse_version > 1315 +%if 0%{?suse_version} > 1315 export LDFLAGS="-no-pie" %endif %configure -make \ -%ifarch %ix86 - x86 \ -%endif -%ifarch amd64 x86_64 ia32e em64t - amd64 \ -%endif +make %{?_smp_mflags} %check make %{?_smp_mflags} tests %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} -install -m0755 bz2aespipe "%{buildroot}%{_bindir}/" +%make_install +install -D -p -m 0755 bz2aespipe "%{buildroot}%{_bindir}/" %files %defattr(-,root,root) %doc ChangeLog README %{_bindir}/aespipe %{_bindir}/bz2aespipe -%{_mandir}/man1/aespipe.1* +%{_mandir}/man1/aespipe.1%{ext_man} %changelog