Remove BuildRoot tag, add smp flags to make and license macro

This commit is contained in:
Paweł Marciniak
2020-11-11 13:57:35 +01:00
parent 90586aa018
commit fc403b6267

View File

@@ -1,14 +1,14 @@
Name: stenc
Version: 1.0.8
Release: 1%{?dist}
Release: 3%{?dist}
Summary: SCSI Tape Encryption Manager
License: GPLv2
URL: https://github.com/scsitape/stenc
Source0: https://github.com/scsitape/stenc/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: https://github.com/scsitape/stenc/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
@@ -22,7 +22,7 @@ drives with hardware-based encryption
%build
./autogen.sh
%configure
make
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
@@ -32,12 +32,19 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYING README.md AUTHORS
%license COPYING
%doc README.md AUTHORS
%{_bindir}/stenc
%{_mandir}/man1/stenc.1*
%changelog
* Sat Jul 4 2020 Your Name <email@example.com> 1.0.8
* Wed Nov 11 2020 Paweł Marciniak <sunwire+repo@gmail.com> - 1.0.8-3
- Remove BuildRoot tag, add smp flags to make and license macro
* Sat Nov 07 2020 Paweł Marciniak <sunwire+repo@gmail.com> - 1.0.8-2
- Make will no longer be in BuildRoot by default
* Sat Jul 4 2020 Paweł Marciniak <sunwire+repo@gmail.com> 1.0.8-1
- Initial SPEC file