Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e295696f49 | |||
| ac9154dbe1 | |||
| 82436c4ab4 | |||
| 4ada163a7d | |||
| e2cb50bbd3 | |||
| 6e433fb434 | |||
| eda72d9a7d |
+1
-1
@@ -1,2 +1,2 @@
|
||||
spectool-1.0.10.tar.bz2
|
||||
rpmdevtools-7.0.tar.lzma
|
||||
rpmdevtools-6.8.tar.bz2
|
||||
|
||||
+66
-23
@@ -1,9 +1,9 @@
|
||||
%define emacs_sitestart_d %{_datadir}/emacs/site-lisp/site-start.d
|
||||
%define xemacs_sitestart_d %{_datadir}/xemacs/site-packages/lisp/site-start.d
|
||||
%define spectool_version 1.0.10
|
||||
%global emacs_sitestart_d %{_datadir}/emacs/site-lisp/site-start.d
|
||||
%global xemacs_sitestart_d %{_datadir}/xemacs/site-packages/lisp/site-start.d
|
||||
%global spectool_version 1.0.10
|
||||
|
||||
Name: rpmdevtools
|
||||
Version: 7.0
|
||||
Version: 6.8
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM Development Tools
|
||||
|
||||
@@ -11,28 +11,49 @@ Group: Development/Tools
|
||||
# rpmdev-setuptree is GPLv2, everything else GPLv2+
|
||||
License: GPLv2+ and GPLv2
|
||||
URL: https://fedorahosted.org/rpmdevtools/
|
||||
Source0: https://fedorahosted.org/releases/r/p/rpmdevtools/%{name}-%{version}.tar.lzma
|
||||
Source0: https://fedorahosted.org/releases/r/p/rpmdevtools/%{name}-%{version}.tar.bz2
|
||||
Source1: http://people.redhat.com/nphilipp/spectool/spectool-%{spectool_version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
# lzma for unpacking the tarball
|
||||
BuildRequires: lzma
|
||||
# help2man, pod2man, *python for creating man pages
|
||||
# All build deps for man page generation
|
||||
BuildRequires: help2man
|
||||
BuildRequires: %{_bindir}/pod2man
|
||||
BuildRequires: python
|
||||
BuildRequires: rpm-python
|
||||
Provides: spectool = %{spectool_version}
|
||||
Provides: fedora-rpmdevtools = %{version}
|
||||
Obsoletes: fedora-rpmdevtools < 5.0
|
||||
# Minimal RPM build requirements
|
||||
Requires: bash
|
||||
Requires: bzip2
|
||||
Requires: coreutils
|
||||
Requires: cpio
|
||||
Requires: diffutils
|
||||
Requires: fakeroot
|
||||
Requires: file
|
||||
Requires: findutils
|
||||
Requires: gawk
|
||||
Requires: gcc
|
||||
Requires: gcc-c++
|
||||
Requires: grep
|
||||
Requires: gzip
|
||||
Requires: info
|
||||
Requires: make
|
||||
Requires: redhat-release
|
||||
Requires: redhat-rpm-config
|
||||
Requires: rpm-build >= 4.4.2.1
|
||||
Requires: rpm-python
|
||||
Requires: sed
|
||||
Requires: tar
|
||||
Requires: unzip
|
||||
Requires: util-linux
|
||||
Requires: which
|
||||
# Additionally required for tool operations
|
||||
#Requires: cpio
|
||||
Requires: fakeroot
|
||||
Requires: file
|
||||
Requires: perl
|
||||
Requires: python
|
||||
Requires: rpm-python >= 4.4.2.2
|
||||
#Requires: sed
|
||||
Requires: wget
|
||||
|
||||
%description
|
||||
@@ -76,11 +97,32 @@ for dir in %{emacs_sitestart_d} %{xemacs_sitestart_d} ; do
|
||||
touch $RPM_BUILD_ROOT$dir/rpmdev-init.elc
|
||||
done
|
||||
|
||||
# Backwards compatibility symlinks
|
||||
ln -s rpmdev-checksig $RPM_BUILD_ROOT%{_bindir}/fedora-rpmchecksig
|
||||
ln -s rpmdev-diff $RPM_BUILD_ROOT%{_bindir}/fedora-diffarchive
|
||||
ln -s rpmdev-extract $RPM_BUILD_ROOT%{_bindir}/fedora-extract
|
||||
ln -s rpmdev-md5 $RPM_BUILD_ROOT%{_bindir}/fedora-md5
|
||||
ln -s rpmdev-newspec $RPM_BUILD_ROOT%{_bindir}/fedora-newrpmspec
|
||||
ln -s rpmdev-rmdevelrpms $RPM_BUILD_ROOT%{_bindir}/fedora-rmdevelrpms
|
||||
ln -s rpmdev-setuptree $RPM_BUILD_ROOT%{_bindir}/fedora-buildrpmtree
|
||||
ln -s rpmdev-vercmp $RPM_BUILD_ROOT%{_bindir}/fedora-rpmvercmp
|
||||
ln -s rpmdev-wipetree $RPM_BUILD_ROOT%{_bindir}/fedora-wipebuildtree
|
||||
ln -s rpminfo $RPM_BUILD_ROOT%{_bindir}/fedora-rpminfo
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
# Upgrade from fedora-rpmdevtools:
|
||||
oldconf=%{_sysconfdir}/fedora/rmdevelrpms.conf
|
||||
if [ $1 -eq 1 -a -f $oldconf ] ; then
|
||||
echo "5615a64d80f6e6b4df77b3ab0ef1469c $oldconf" \
|
||||
| md5sum -c --status - >/dev/null 2>&1 || \
|
||||
cat $oldconf > %{_sysconfdir}/rpmdevtools/rmdevelrpms.conf || :
|
||||
fi
|
||||
|
||||
%triggerin -- emacs-common
|
||||
[ -d %{emacs_sitestart_d} ] && \
|
||||
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{emacs_sitestart_d} || :
|
||||
@@ -101,6 +143,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc COPYING README*
|
||||
%config(noreplace) %{_sysconfdir}/rpmdevtools/
|
||||
%{_datadir}/rpmdevtools/
|
||||
%{_bindir}/fedora-*
|
||||
%{_bindir}/rpm*
|
||||
%{_bindir}/spectool
|
||||
%ghost %{_datadir}/*emacs
|
||||
@@ -108,9 +151,18 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 26 2008 Ville Skyttä <ville.skytta at iki.fi> - 7.0-1
|
||||
- 7.0.
|
||||
- Drop fonts spec template, adapt to new ones from Fedora fonts SIG (#477055).
|
||||
* Fri Apr 3 2009 Ville Skyttä <ville.skytta at iki.fi> - 6.8-1
|
||||
- 6.8.
|
||||
|
||||
* Sun Feb 22 2009 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Use %%global instead of %%define in spec templates.
|
||||
- Handle %%global in addition to %%define in rpmdev-bumpspec.
|
||||
|
||||
* Mon Jan 26 2009 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Add result dependent exit statuses to rpmdev-vercmp.
|
||||
|
||||
* Fri Dec 26 2008 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Add minimum version to rpm-python dependency (for rpmdev-bumpspec).
|
||||
- Add man page for rpmdev-newspec.
|
||||
|
||||
* Tue Dec 16 2008 Ville Skyttä <ville.skytta at iki.fi>
|
||||
@@ -123,10 +175,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
- Add vamp-plugin-sdk to internal list of non-devel packages in rmdevelrpms
|
||||
(#472641, Michael Schwendt).
|
||||
|
||||
* Thu Nov 20 2008 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Drop "minimal buildroot" dependencies.
|
||||
- Drop fedora-rpmdevtools Obsoletes.
|
||||
|
||||
* Mon Oct 13 2008 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Show available types in rpmdev-newspec --help (ticket #6, Todd Zullinger).
|
||||
|
||||
@@ -138,9 +186,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Thu Sep 25 2008 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Bring rpmdev-bumpspec copyright holder closer to truth (Michael Schwendt).
|
||||
|
||||
* Mon Sep 22 2008 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Switch to lzma compressed tarball.
|
||||
|
||||
* Sun Sep 7 2008 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Improve arch specific %%files in perl spec template (#461177, Chris Weyl).
|
||||
|
||||
@@ -189,7 +234,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
- Add ';;' to the init script template's reload action.
|
||||
|
||||
* Sat Dec 8 2007 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- Add fonts spec template from the Fedora Fonts SIG (#407781).
|
||||
- Add option to use macro style instead of shell style variables to newspec.
|
||||
- Prefer ~/.config/rpmdevtools/rmdevelrpms.conf over ~/.rmdevelrpmsrc in
|
||||
rmdevelrpms.
|
||||
@@ -243,7 +287,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
* Tue Mar 13 2007 Ville Skyttä <ville.skytta at iki.fi>
|
||||
- BR perl(ExtUtils::MakeMaker) by default in perl spec template.
|
||||
- Drop deprecated backwards compatibility with fedora-rpmdevtools.
|
||||
- Update URL.
|
||||
|
||||
* Wed Nov 8 2006 Ville Skyttä <ville.skytta at iki.fi>
|
||||
|
||||
Reference in New Issue
Block a user