documenting upstream relocation and tarball creation
This commit is contained in:
parent
1d4f2670f0
commit
dcd901de3b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
python-dmidecode-3.10.13.tar.gz
|
||||
python-dmidecode-3.10.13.tar.xz
|
||||
|
10
generate-tarball.sh
Executable file
10
generate-tarball.sh
Executable 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
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user