Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
RPM Tools
(view source)
Revision as of 00:18, 25 July 2015
17 bytes added
,
00:18, 25 July 2015
→git_mockbuild
Line 159:
Line 159:
##copy a list of files to SOURCES when patches or archives are not in the root folder
##copy a list of files to SOURCES when patches or archives are not in the root folder
ls > /tmp/$PACKAGE-$VERSION
ls > /tmp/$PACKAGE-$VERSION
−
cp -
f
$(</tmp/$PACKAGE-$VERSION) ~/rpmbuild/SOURCES/
+
cp -
Rf
$(</tmp/$PACKAGE-$VERSION) ~/rpmbuild/SOURCES/
# And build
# And build
Line 227:
Line 227:
rm -f ~/rpmbuild/SPECS/$PACKAGE.spec ~/rpmbuild/SOURCES/$PACKAGE-$VERSION.tar.gz ~/rpmbuild/SRPMS/$PACKAGE-$VERSION*.src.rpm
rm -f ~/rpmbuild/SPECS/$PACKAGE.spec ~/rpmbuild/SOURCES/$PACKAGE-$VERSION.tar.gz ~/rpmbuild/SRPMS/$PACKAGE-$VERSION*.src.rpm
−
rm -rf $TMPDIR ~/$PACKAGE-$VERSION
+
rm -rf $TMPDIR ~
/rpmbuild/SOURCES
/$PACKAGE-$VERSION
# clean ~/rpmbuild/SOURCES when patches or archives are not in the root folder
# clean ~/rpmbuild/SOURCES when patches or archives are not in the root folder
Stephdl
Administrators
5,576
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version