documenting upstream relocation and tarball creation

This commit is contained in:
Ales Ledvinka 2012-07-19 10:51:12 +02:00
parent 1d4f2670f0
commit dcd901de3b
4 changed files with 18 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
python-dmidecode-3.10.13.tar.gz
python-dmidecode-3.10.13.tar.xz

10
generate-tarball.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
VERSION=$1
# git clone ssh://git.fedorahosted.org/git/python-dmidecode.git
# cd python-dmidecode
git archive --format=tar --prefix=python-dmidecode-$VERSION/ -o python-dmidecode-$VERSION.tar v$VERSION
tar -xvf python-dmidecode-$VERSION.tar
rm -r python-dmidecode-$VERSION/debian
tar -cJvf python-dmidecode-$VERSION.tar.xz python-dmidecode-$VERSION

View File

@ -4,11 +4,12 @@
Summary: Python module to access DMI data
Name: python-dmidecode
Version: 3.10.13
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2
Group: System Environment/Libraries
URL: http://projects.autonomy.net.au/python-dmidecode/
Source0: http://src.autonomy.net.au/python-dmidecode/%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.xz
Source1: generate-tarball.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: libxml2-python
BuildRequires: libxml2-python
@ -49,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/python-dmidecode/
%changelog
* Thu Jul 19 2012 Ales Ledvinka <aledvink@redhat.com> 3.10.14-5
- Upstream relocated. Document source tag and tarball generation.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1 +1 @@
b0a0840c037ae64b5d02920a2f798c52 python-dmidecode-3.10.13.tar.gz
66882eeed64651906942f3bbf3cd219b python-dmidecode-3.10.13.tar.xz