Compare commits

..

5 Commits

Author SHA1 Message Date
Ville Skyttä a33d3a18f2 - Update to 7.4, fixes #215927 and #466353.
- Patch spectool to make -s and -p to work as documented (Todd Zullinger).
2009-08-21 09:58:25 +00:00
Jesse Keating 1f405acaf3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 03:13:18 +00:00
Ville Skyttä f1a55044c0 Doh. 2009-05-24 21:34:15 +00:00
Ville Skyttä 61dbb79aed - Release 7.3.
Sat May 23 2009 Ville Skyttä <ville.skytta at iki.fi>
- Add rpmdev-packager - script for getting rpm packager info.
- Use rpmdev-packager in rpmdev-bumpspec and rpmdev-init.el.
- Fix rpmdev-extract MIME type comparisons with file(1) output containing
    parameters.
2009-05-24 21:29:51 +00:00
Ville Skyttä 9a552d4934 - Release 7.2.
Sun May 3 2009 Ville Skyttä <ville.skytta at iki.fi>
- Add dummy spec template for ad-hoc testing.
Sat May 2 2009 Ville Skyttä <ville.skytta at iki.fi>
- Improve newspec/newinit when only "-o foo" argument is given (#498588,
    thanks to Edwin ten Brink).
- Try to get packager mail address for *Emacs rpm-spec-mode from
    ~/.fedora.cert if rpm-spec-user-mail-address is not set.
- Add xz support to rpmdev-extract.
Sat Apr 18 2009 Ville Skyttä <ville.skytta at iki.fi>
- Make bumpspec's use of "head" POSIX compliant.
Thu Apr 16 2009 Ville Skyttä <ville.skytta at iki.fi>
- Add rpmdev-newinit for easier access to the init script template, move
    the template to %{_sysconfdir}/rpmdevtools, improve reload action
    example.
Tue Apr 7 2009 Ville Skyttä <ville.skytta at iki.fi>
- Speed up rpmls bash completion.
2009-05-21 14:48:30 +00:00
4 changed files with 74 additions and 15 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
spectool-1.0.10.tar.bz2
rpmdevtools-7.1.tar.lzma
rpmdevtools-7.4.tar.xz
+55 -13
View File
@@ -3,7 +3,7 @@
%global spectool_version 1.0.10
Name: rpmdevtools
Version: 7.1
Version: 7.4
Release: 1%{?dist}
Summary: RPM Development Tools
@@ -11,17 +11,16 @@ Group: Development/Tools
# rpmdev-setuptree is GPLv2, everything else GPLv2+
License: GPLv2+ and GPLv2
URL: https://fedorahosted.org/rpmdevtools/
Source0: https://fedorahosted.org/released/rpmdevtools/%{name}-%{version}.tar.lzma
Source0: https://fedorahosted.org/released/rpmdevtools/%{name}-%{version}.tar.xz
Source1: http://people.redhat.com/nphilipp/spectool/spectool-%{spectool_version}.tar.bz2
Patch0: spectool-1.0.10-sourcenum.patch
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
BuildRequires: help2man
BuildRequires: %{_bindir}/pod2man
BuildRequires: python
BuildRequires: python >= 2.4
BuildRequires: rpm-python
Provides: spectool = %{spectool_version}
Requires: diffutils
@@ -30,8 +29,10 @@ Requires: file
Requires: findutils
Requires: gawk
Requires: grep
Requires: man
Requires: python >= 2.4
Requires: rpm-build >= 4.4.2.1
Requires: rpm-python >= 4.4.2.2
Requires: rpm-python
Requires: sed
Requires: wget
# For _get_cword in bash completion snippet
@@ -46,7 +47,7 @@ rpmdev-newspec Creates new .spec from template
rpmdev-rmdevelrpms Find (and optionally remove) "development" RPMs
rpmdev-checksig Check package signatures using alternate RPM keyring
rpminfo Print information about executables and libraries
rpmdev-md5/sha* Display checksums of all files in an RPM package file
rpmdev-md5/sha* Display checksums of all files in an archive file
rpmdev-vercmp RPM version comparison checker
spectool Expand and download sources and patches in specfiles
rpmdev-wipetree Erase all files within dirs created by rpmdev-setuptree
@@ -57,7 +58,10 @@ rpmdev-bumpspec Bump revision in specfile
%prep
%setup -q -a 1
cp -p spectool*/README README.spectool
cp -p spectool-%{spectool_version}/README README.spectool
cd spectool-%{spectool_version}
%patch0 -p1
cd ..
%build
@@ -70,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -pm 755 spectool*/spectool $RPM_BUILD_ROOT%{_bindir}
install -pm 755 spectool-%{spectool_version}/spectool $RPM_BUILD_ROOT%{_bindir}
for dir in %{emacs_sitestart_d} %{xemacs_sitestart_d} ; do
install -dm 755 $RPM_BUILD_ROOT$dir
@@ -100,17 +104,55 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README*
%doc COPYING NEWS README*
%config(noreplace) %{_sysconfdir}/rpmdevtools/
%{_sysconfdir}/bash_completion.d/
%{_datadir}/rpmdevtools/
%{_bindir}/rpm*
%{_bindir}/spectool
%{_bindir}/*
%ghost %{_datadir}/*emacs
%{_mandir}/man[18]/rpm*.[18]*
%{_mandir}/man[18]/*.[18]*
%changelog
* Fri Aug 21 2009 Ville Skyttä <ville.skytta@iki.fi> - 7.4-1
- Update to 7.4, fixes #215927 and #466353.
- Patch spectool to make -s and -p to work as documented (Todd Zullinger).
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon May 25 2009 Ville Skyttä <ville.skytta at iki.fi> - 7.3-1
- Release 7.3.
* Sat May 23 2009 Ville Skyttä <ville.skytta at iki.fi>
- Add rpmdev-packager - script for getting rpm packager info.
- Use rpmdev-packager in rpmdev-bumpspec and rpmdev-init.el.
- Fix rpmdev-extract MIME type comparisons with file(1) output containing
parameters.
* Wed May 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 7.2-1
- Release 7.2.
* Sun May 3 2009 Ville Skyttä <ville.skytta at iki.fi>
- Add dummy spec template for ad-hoc testing.
* Sat May 2 2009 Ville Skyttä <ville.skytta at iki.fi>
- Improve newspec/newinit when only "-o foo" argument is given (#498588,
thanks to Edwin ten Brink).
- Try to get packager mail address for *Emacs rpm-spec-mode from ~/.fedora.cert
if rpm-spec-user-mail-address is not set.
- Add xz support to rpmdev-extract.
* Sat Apr 18 2009 Ville Skyttä <ville.skytta at iki.fi>
- Make bumpspec's use of "head" POSIX compliant.
* Thu Apr 16 2009 Ville Skyttä <ville.skytta at iki.fi>
- Add rpmdev-newinit for easier access to the init script template, move the
template to %%{_sysconfdir}/rpmdevtools, improve reload action example.
* Tue Apr 7 2009 Ville Skyttä <ville.skytta at iki.fi>
- Speed up rpmls bash completion.
* Sat Apr 4 2009 Ville Skyttä <ville.skytta at iki.fi> - 7.1-1
- 7.1.
- Make rpmdev-md5 and friends work on non-srpm package files too.
+1 -1
View File
@@ -1,2 +1,2 @@
d193612122f297ee4b37f1b04f605768 spectool-1.0.10.tar.bz2
0d0e9fa78d3f5cfe09c25cf69d629ba2 rpmdevtools-7.1.tar.lzma
8407f2e7f2037ec28ca7910fed2c3498 rpmdevtools-7.4.tar.xz
+17
View File
@@ -0,0 +1,17 @@
Fix for -s x,y, -p x,y from Todd Zullinger:
https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00621.html
diff -up spectool-1.0.10/spectool~ spectool-1.0.10/spectool
--- spectool-1.0.10/spectool~ 2008-02-12 12:32:21.000000000 +0200
+++ spectool-1.0.10/spectool 2009-08-21 02:12:56.000000000 +0300
@@ -269,8 +269,8 @@ GetOptions ('h|help' => sub { $command =
'v|verbose' => sub { $verbose++; },
'n|dryrun|dry-run' => sub { $dryrun = 1; },
'V|version' => sub { $command = 'version'; },
- 's|source=i' => \@sources,
- 'p|patch=i' => \@patches,
+ 's|source=s' => \@sources,
+ 'p|patch=s' => \@patches,
'S|sources' => sub { push @what, 'sources'; },
'P|patches' => sub { push @what, 'patches'; },
'A|all' => sub { push @what, 'all'; },