Re: PyPDF2 and stapler (RPM build error for stapler)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks very much! So here is the problem I have:
 
> %global snapdate 20150128
> %global commit 8b5f409afc9b35e0fe71ceb46d97292d79a7158b
> %global shortcommit %(c=%{commit}; echo ${c:0:7})
> 
> %global realname stapler
> 
> Name:           pdf%{realname}
> # The Version is hidden in the stapler script
> Version:        0.3.0
> Release:        0.%{snapdate}git%{shortcommit}%{?dist}
> Summary:        Python-based PDF toolkit alternative to obsoleted pdftk
> 
> Group:          Applications/System
> License:        BSD
> URL:            https://github.com/hellerbarde/%{realname}
> Source0:        https://github.com/hellerbarde/%{realname}/archive/%{commit}/%{realname}-%{snapdate}git%{shortcommit}.tar.gz
.....

So, I try:

% rpmbuild -bb pdfstapler.spec 
error: File /home/user/rpmbuild/SOURCES/stapler-20150128git8b5f409.tar.gz: No such file or directory

So, it turns out that I don't quite have a file called stapler-20150128git8b5f409.tar.gz. 

I guess this is coming from the %{realname}-%{snapdate}git%{shortcommit}.tar.gz but I am not sure whether there is a file which is called stapler-20150128git8b5f409.tar.gz. Where do you find this from? Sorry about the naivety of the question but I am not as familiar with git as I am with subversion.

Best wishes,
Ranjan

____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux