- spec cleanup and modernization

This commit is contained in:
Filipe Rosset 2022-09-01 18:45:49 -03:00
commit 5db9024fe1

View file

@ -1,12 +1,12 @@
Name: vcftools
Version: 0.1.16
Release: 14%{?dist}
Release: 15%{?dist}
Summary: VCF file manipulation tools
License: GPLv3
URL: https://vcftools.github.io/
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: perl-generators
BuildRequires: perl-interpreter
@ -21,7 +21,7 @@ provide methods for working with VCF files: validating, merging,
comparing and calculate some basic population genetic statistics.
%prep
%setup -q -n %{name}-%{version}
%autosetup
%build
%configure --with-pmdir=%(perl -e 'print $ARGV[0] =~ s{\A\Q$ARGV[1]\E/}{}r' \
@ -32,7 +32,7 @@ comparing and calculate some basic population genetic statistics.
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
%make_install
%files
@ -70,6 +70,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
%{_mandir}/man1/vcftools.1.gz
%changelog
* Thu Sep 01 2022 Filipe Rosset <rosset.filipe@gmail.com> - 0.1.16-15
- spec cleanup and modernization
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.16-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild