ee872d Use a release tarball instead of a source code tarball

Authored and Committed by Javier Martinez Canillas 5 years ago
    Use a release tarball instead of a source code tarball
    
    The current source tarball isn't a release tarball but a source code
    tarball. Which means that a configure script isn't present and the
    bootstrap script needs to be executed in order to build the package.
    
    But it messes with the PACKAGE_VERSION variable that's correctly set
    in the release tarball. So the tools don't provide a correct version:
    
    $ tpm2_createprimary -v
    tool="tpm2_createprimary" version="" tctis="libtss2-tctildr" tcti-default=tcti-device
    
    When using the release tarball instead:
    
    $ tpm2_createprimary -v
    tool="tpm2_createprimary" version="4.0-rc2" tctis="libtss2-tctildr" tcti-default=tcti-device
    
    Also, the Source URL isn't correct so tools that rely on it won't work:
    
    $ spectool -g tpm2-tools.spec
    ...
    curl: (22) The requested URL returned error: 404 Not Found
    
    Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
    
        
file modified
+1 -1
file modified
+5 -3