Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98732e8e31 | ||
|
|
be5fa647cd | ||
|
|
d05045c447 | ||
|
|
0032c5270d | ||
|
|
7fba799422 | ||
|
|
4f5745c71e | ||
|
|
85d8faeb9b | ||
|
|
c257bf7df7 | ||
|
|
6c092c945e | ||
|
|
314247a49a | ||
|
|
e5fa722014 | ||
|
|
72a6c0f3cb | ||
|
|
90de409997 | ||
|
|
f5a5863426 | ||
|
|
c00eb73a5b | ||
|
|
d09042a4c7 | ||
|
|
2e66162ac5 | ||
|
|
1ca57fa989 | ||
|
|
946688ebc6 | ||
|
|
81eb9a4614 | ||
|
|
69ac675da6 | ||
|
|
0ed1cf6ca9 | ||
|
|
432028f098 | ||
|
|
62382c0bc5 | ||
|
|
b9735455ed | ||
|
|
a3c470b7d7 | ||
|
|
ba8fba6d3f |
+1
-1
@@ -1 +1 @@
|
|||||||
/rpmdevtools-8.1.tar.xz
|
/*.tar.*
|
||||||
|
|||||||
+113
-43
@@ -1,27 +1,40 @@
|
|||||||
%global spectool_version 1.0.10
|
%global spectool_version 1.0.10
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%bcond_without python3
|
||||||
|
%else
|
||||||
|
%bcond_with python3
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: rpmdevtools
|
Name: rpmdevtools
|
||||||
Version: 8.1
|
Version: 8.10
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: RPM Development Tools
|
Summary: RPM Development Tools
|
||||||
|
|
||||||
Group: Development/Tools
|
|
||||||
# rpmdev-setuptree is GPLv2, everything else GPLv2+
|
# rpmdev-setuptree is GPLv2, everything else GPLv2+
|
||||||
License: GPLv2+ and GPLv2
|
License: GPLv2+ and GPLv2
|
||||||
URL: https://fedorahosted.org/rpmdevtools/
|
URL: https://pagure.io/rpmdevtools
|
||||||
Source0: https://fedorahosted.org/released/rpmdevtools/%{name}-%{version}.tar.xz
|
Source0: https://releases.pagure.org/rpmdevtools/%{name}-%{version}.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# help2man, pod2man, *python for creating man pages
|
# help2man, pod2man, *python for creating man pages
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
BuildRequires: %{_bindir}/pod2man
|
BuildRequires: %{_bindir}/pod2man
|
||||||
BuildRequires: python >= 2.4
|
BuildRequires: perl-generators
|
||||||
|
%if %{with python3}
|
||||||
|
BuildRequires: python3
|
||||||
|
BuildRequires: rpm-python3
|
||||||
|
%else
|
||||||
|
BuildRequires: python >= 2.7
|
||||||
BuildRequires: rpm-python
|
BuildRequires: rpm-python
|
||||||
|
%endif
|
||||||
# emacs-common >= 1:22.3-3 for macros.emacs
|
# emacs-common >= 1:22.3-3 for macros.emacs
|
||||||
BuildRequires: emacs-common >= 1:22.3-3
|
BuildRequires: emacs-common >= 1:22.3-3
|
||||||
|
BuildRequires: bash-completion
|
||||||
|
%if 0%{?fedora}
|
||||||
# xemacs-common >= 21.5.29-8 for macros.xemacs
|
# xemacs-common >= 21.5.29-8 for macros.xemacs
|
||||||
BuildRequires: xemacs-common >= 21.5.29-8
|
BuildRequires: xemacs-common >= 21.5.29-8
|
||||||
|
%endif
|
||||||
Provides: spectool = %{spectool_version}
|
Provides: spectool = %{spectool_version}
|
||||||
Requires: curl
|
Requires: curl
|
||||||
Requires: diffutils
|
Requires: diffutils
|
||||||
@@ -30,17 +43,18 @@ Requires: file
|
|||||||
Requires: findutils
|
Requires: findutils
|
||||||
Requires: gawk
|
Requires: gawk
|
||||||
Requires: grep
|
Requires: grep
|
||||||
Requires: %{_bindir}/man
|
|
||||||
Requires: python >= 2.4
|
|
||||||
Requires: rpm-build >= 4.4.2.3
|
Requires: rpm-build >= 4.4.2.3
|
||||||
|
%if %{with python3}
|
||||||
|
Requires: rpm-python3
|
||||||
|
%else
|
||||||
|
Requires: python >= 2.4
|
||||||
Requires: rpm-python
|
Requires: rpm-python
|
||||||
|
%endif
|
||||||
Requires: sed
|
Requires: sed
|
||||||
%if 0%{?fedora} > 14
|
|
||||||
Requires: emacs-filesystem
|
Requires: emacs-filesystem
|
||||||
|
%if 0%{?fedora}
|
||||||
Requires: xemacs-filesystem
|
Requires: xemacs-filesystem
|
||||||
%endif
|
%endif
|
||||||
# For _get_cword in bash completion snippet
|
|
||||||
Conflicts: bash-completion < 20080705
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains scripts and (X)Emacs support files to aid in
|
This package contains scripts and (X)Emacs support files to aid in
|
||||||
@@ -62,66 +76,122 @@ rpmdev-bumpspec Bump revision in specfile
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%if %{with python3}
|
||||||
|
grep -lF "%{_bindir}/python " * \
|
||||||
|
| xargs sed -i -e "s|%{_bindir}/python |%{_bindir}/python3 |"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%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
|
||||||
|
[ -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d ] && \
|
||||||
|
echo %%{_sysconfdir}/bash_completion.d > %{name}.files
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
for dir in %{_emacs_sitestartdir} %{_xemacs_sitestartdir} ; do
|
for dir in %{_emacs_sitestartdir} %{_xemacs_sitestartdir} ; do
|
||||||
|
%else
|
||||||
|
for dir in %{_emacs_sitestartdir} ; do
|
||||||
|
%endif
|
||||||
install -dm 755 $RPM_BUILD_ROOT$dir
|
install -dm 755 $RPM_BUILD_ROOT$dir
|
||||||
ln -s %{_datadir}/rpmdevtools/rpmdev-init.el $RPM_BUILD_ROOT$dir
|
ln -s %{_datadir}/rpmdevtools/rpmdev-init.el $RPM_BUILD_ROOT$dir
|
||||||
touch $RPM_BUILD_ROOT$dir/rpmdev-init.elc
|
touch $RPM_BUILD_ROOT$dir/rpmdev-init.elc
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%license COPYING
|
||||||
|
%doc NEWS
|
||||||
|
|
||||||
%if 0%{?fedora} <= 14
|
|
||||||
%triggerin -- emacs-common
|
|
||||||
[ -d %{_emacs_sitestartdir} ] && \
|
|
||||||
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{_emacs_sitestartdir} || :
|
|
||||||
|
|
||||||
%triggerun -- emacs-common
|
|
||||||
[ $2 -eq 0 ] && rm -f %{_emacs_sitestartdir}/rpmdev-init.el* || :
|
|
||||||
|
|
||||||
%triggerin -- xemacs-common
|
|
||||||
[ -d %{_xemacs_sitestartdir} ] && \
|
|
||||||
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{_xemacs_sitestartdir} || :
|
|
||||||
|
|
||||||
%triggerun -- xemacs-common
|
|
||||||
[ $2 -eq 0 ] && rm -f %{_xemacs_sitestartdir}/rpmdev-init.el* || :
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING NEWS
|
|
||||||
%config(noreplace) %{_sysconfdir}/rpmdevtools/
|
%config(noreplace) %{_sysconfdir}/rpmdevtools/
|
||||||
%{_sysconfdir}/bash_completion.d/
|
|
||||||
%{_datadir}/rpmdevtools/
|
%{_datadir}/rpmdevtools/
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%if 0%{?fedora} > 14
|
|
||||||
%{_emacs_sitestartdir}/rpmdev-init.el
|
%{_emacs_sitestartdir}/rpmdev-init.el
|
||||||
%ghost %{_emacs_sitestartdir}/rpmdev-init.elc
|
%ghost %{_emacs_sitestartdir}/rpmdev-init.elc
|
||||||
|
%if 0%{?fedora}
|
||||||
%{_xemacs_sitestartdir}/rpmdev-init.el
|
%{_xemacs_sitestartdir}/rpmdev-init.el
|
||||||
%ghost %{_xemacs_sitestartdir}/rpmdev-init.elc
|
%ghost %{_xemacs_sitestartdir}/rpmdev-init.elc
|
||||||
%else
|
|
||||||
%ghost %{_datadir}/emacs
|
|
||||||
%ghost %{_datadir}/xemacs
|
|
||||||
%endif
|
%endif
|
||||||
%{_mandir}/man[18]/*.[18]*
|
%{_mandir}/man[18]/*.[18]*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 14 2017 Ville Skyttä <ville.skytta@iki.fi> - 8.10-1
|
||||||
|
- Update to 8.10
|
||||||
|
|
||||||
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 8.9-2
|
||||||
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
|
* Sat Jun 25 2016 Ville Skyttä <ville.skytta@iki.fi> - 8.9-1
|
||||||
|
- Update to 8.9
|
||||||
|
|
||||||
|
* Sat Jun 25 2016 Ville Skyttä <ville.skytta@iki.fi> - 8.8-1
|
||||||
|
- Update to 8.8
|
||||||
|
|
||||||
|
* Fri Jun 24 2016 Petr Písař <ppisar@redhat.com>
|
||||||
|
- Add new mandatory perl build deps
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 5 2015 Ville Skyttä <ville.skytta@iki.fi> - 8.6-2
|
||||||
|
- Use python3 on > F-22
|
||||||
|
|
||||||
|
* Sun May 10 2015 Ville Skyttä <ville.skytta@iki.fi> - 8.6-1
|
||||||
|
- Update to 8.6
|
||||||
|
|
||||||
|
* Mon Oct 20 2014 Ville Skyttä <ville.skytta@iki.fi> - 8.5-1
|
||||||
|
- Update to 8.5
|
||||||
|
- Mark COPYING as %%license where applicable
|
||||||
|
|
||||||
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 17 2013 Ville Skyttä <ville.skytta@iki.fi> - 8.4-2
|
||||||
|
- Do not require devscripts in any scenario.
|
||||||
|
|
||||||
|
* Mon Oct 7 2013 Ville Skyttä <ville.skytta@iki.fi> - 8.4-1
|
||||||
|
- Update to 8.4.
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 8.3-4
|
||||||
|
- Perl 5.18 rebuild
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Oct 16 2012 Thomas Woerner <twoerner@redhat.com> - 8.3-2
|
||||||
|
- xemacs is not available on RHEL (RHBZ#866841)
|
||||||
|
|
||||||
|
* Sun Sep 2 2012 Ville Skyttä <ville.skytta@iki.fi> - 8.3-1
|
||||||
|
- Update to 8.3.
|
||||||
|
- Drop specfile constructs no longer needed with Fedora's rpm.
|
||||||
|
|
||||||
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Nov 12 2011 Ville Skyttä <ville.skytta@iki.fi> - 8.2-1
|
||||||
|
- Update to 8.2.
|
||||||
|
|
||||||
* Tue Apr 26 2011 Ville Skyttä <ville.skytta@iki.fi> - 8.1-1
|
* Tue Apr 26 2011 Ville Skyttä <ville.skytta@iki.fi> - 8.1-1
|
||||||
- Update to 8.1.
|
- Update to 8.1.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user