Update to 8.7

- Specfile cleanups
This commit is contained in:
Ville Skyttä 2016-06-23 18:59:47 +03:00
parent 90de409997
commit 72a6c0f3cb

View File

@ -7,8 +7,8 @@
%endif %endif
Name: rpmdevtools Name: rpmdevtools
Version: 8.6 Version: 8.7
Release: 3%{?dist} Release: 1%{?dist}
Summary: RPM Development Tools Summary: RPM Development Tools
# rpmdev-setuptree is GPLv2, everything else GPLv2+ # rpmdev-setuptree is GPLv2, everything else GPLv2+
@ -24,7 +24,7 @@ BuildRequires: %{_bindir}/pod2man
BuildRequires: python3 BuildRequires: python3
BuildRequires: rpm-python3 BuildRequires: rpm-python3
%else %else
BuildRequires: python >= 2.6 BuildRequires: python >= 2.7
BuildRequires: rpm-python BuildRequires: rpm-python
%endif %endif
# emacs-common >= 1:22.3-3 for macros.emacs # emacs-common >= 1:22.3-3 for macros.emacs
@ -83,13 +83,13 @@ grep -lF "%{_bindir}/python " * \
%build %build
%configure --libdir=%{_prefix}/lib %configure --libdir=%{_prefix}/lib
make %{?_smp_mflags} %make_build
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT %make_install
echo %%{_datadir}/bash-completion > %{name}.files echo %%{_datadir}/bash-completion > %{name}.files
[ -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d ] && \ [ -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d ] && \
@ -107,7 +107,6 @@ done
%files -f %{name}.files %files -f %{name}.files
%{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%doc NEWS %doc NEWS
%config(noreplace) %{_sysconfdir}/rpmdevtools/ %config(noreplace) %{_sysconfdir}/rpmdevtools/
@ -123,6 +122,10 @@ done
%changelog %changelog
* Thu Jun 23 2016 Ville Skyttä <ville.skytta@iki.fi> - 8.7-1
- Update to 8.7
- Specfile cleanups
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.6-3 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild