rpms/id3v2/devel id3v2-fix-release-tarball.sh, NONE, 1.1 .cvsignore, 1.3, 1.4 id3v2.spec, 1.15, 1.16 sources, 1.3, 1.4 id3v2-0.1.11-track-bad-free.patch, 1.1, NONE

Hans Ulrich Niedermann ndim at fedoraproject.org
Fri Jul 16 13:38:41 UTC 2010


Author: ndim

Update of /cvs/pkgs/rpms/id3v2/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23436

Modified Files:
	.cvsignore id3v2.spec sources 
Added Files:
	id3v2-fix-release-tarball.sh 
Removed Files:
	id3v2-0.1.11-track-bad-free.patch 
Log Message:
* Fri Jul 16 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 0.1.12-1
- Updated to 0.1.12 (#595361).
- Added id3v2-fix-release-tarball.sh script to remove binaries from tarball.
- Removed id3v2-0.1.11-track-bad-free.patch (obsoleted by upstream 0.1.12).



--- NEW FILE id3v2-fix-release-tarball.sh ---
#!/bin/sh
# Remove binaries and git metadata from tarball

set -e

if test -f "$1"; then
    :
else
    echo "Fatal: First parameter must be the name of a tar file: '$1'"
    exit 1
fi

name="id3v2"
version="0.1.12"
tarbase="$name-$version"

if test -d "$tarbase"; then
    echo "Fatal: Directory already exists: $tarbase"
    exit 1
fi

if test -d "$tarbase-fedora"; then
    echo "Fatal: Directory already exists: $tarbase-fedora"
    exit 1
fi

tar xvfz "$tarbase.tar.gz"
test -d "$tarbase"
rm -rf "$tarbase/.git/"
rm -f "$tarbase/id3v2"
rm -f "$tarbase/"*.o

mv "$tarbase" "$tarbase-fedora"
tar cvfz "$tarbase-fedora.tar.gz" "$tarbase-fedora"
rm -rf "$tarbase-fedora"


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/id3v2/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	8 Nov 2004 04:34:49 -0000	1.3
+++ .cvsignore	16 Jul 2010 13:38:41 -0000	1.4
@@ -1 +1 @@
-id3v2-0.1.11.tar.gz
+id3v2-0.1.12-fedora.tar.gz


Index: id3v2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/id3v2/devel/id3v2.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- id3v2.spec	10 Jan 2010 19:23:11 -0000	1.15
+++ id3v2.spec	16 Jul 2010 13:38:41 -0000	1.16
@@ -1,14 +1,18 @@
 Name:           id3v2
-Version:        0.1.11
-Release:        10%{?dist}
+Version:        0.1.12
+Release:        1%{?dist}
 Summary:        Command line ID3 tag editor
 
 Group:          Applications/Multimedia
 # See http://sourceforge.net/tracker/index.php?func=detail&aid=1768045&group_id=4193&atid=104193
 License:        GPLv2+
 URL:            http://id3v2.sourceforge.net/
-Source0:        http://downloads.sourceforge.net/id3v2/%{name}-%{version}.tar.gz
-Patch0:         %{name}-0.1.11-track-bad-free.patch
+
+# Source0:        http://downloads.sourceforge.net/id3v2/%{name}-%{version}.tar.gz
+# Run "id3v2-fix-release-tarball.sh id3v2-0.1.12.tar.gz" to remove binaries
+# and ".git/" from the tarball and get id3v2-0.1.12-fedora.tar.gz
+# Source1:      %{name}-fix-release-tarball.sh
+Source0:        %{name}-%{version}-fedora.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  id3lib-devel
@@ -22,8 +26,7 @@ information in the filename.
 
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}-%{version}-fedora
 
 
 %build
@@ -48,6 +51,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jul 16 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 0.1.12-1
+- Updated to 0.1.12 (#595361).
+- Added id3v2-fix-release-tarball.sh script to remove binaries from tarball.
+- Removed id3v2-0.1.11-track-bad-free.patch (obsoleted by upstream 0.1.12).
+
 * Sun Jan 10 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 0.1.11-10
 - Update Source0 URL (the old one has stopped working)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/id3v2/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	8 Nov 2004 04:34:49 -0000	1.3
+++ sources	16 Jul 2010 13:38:41 -0000	1.4
@@ -1 +1 @@
-68afc3827cf01501dfb22949f901f1d8  id3v2-0.1.11.tar.gz
+00f86653cc5b6215e9538dcf15481801  id3v2-0.1.12-fedora.tar.gz


--- id3v2-0.1.11-track-bad-free.patch DELETED ---



More information about the scm-commits mailing list