User:Sledge/Nemo/Development

How to package upstream tarballs (no vcs) for github.com/nemomobile-packages with git subtree
git clone git@github.com:nemomobile-packages/uthash.git

cd uthash

git commit --allow-empty -m "initial commit" git checkout -B upstream tar -xvf ../uthash-1.9.4.tar.bz2 --strip-components=1 git add -A git commit -a -m "import from upstram tarball uthash-1.9.4.tar.bz2" git tag upstream/1.9.4

pristine-tar commit ../uthash-1.9.4.tar.bz2
 * 1) OPTIONALLY use pristine tar to record any delta for later reproducing EXACTLY same tarball

git checkout master git subtree add --squash --prefix=uthash upstream mkdir rpm cp /somewhere/packaging/uthash.spec rpm/ git add -A git commit -a -m "[packaging] add rpm packaging" git tag nemo/1.9.4 git push --all gut push --tags
 * 1) modify spec to do %setup -q -n %{name}-%{version}/%{name}