Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
.spec file notes
(view source)
Revision as of 21:28, 1 October 2014
153 bytes added
,
21:28, 1 October 2014
→%build
Line 144:
Line 144:
==== %build ====
==== %build ====
+
=====%{__mkdir_p} root/var/lib/packageName/tmp=====
+
# A cool way to create a directory called '''tmp''' even if it doesn't exist
+
# in the upstream rpm.
===== perl createlinks =====
===== perl createlinks =====
Line 153:
Line 156:
# refer to the directory rpms/BUILD/yourappname/root (or whatever's set
# refer to the directory rpms/BUILD/yourappname/root (or whatever's set
# in the BuildRoot line near the top of this spec file.
# in the BuildRoot line near the top of this spec file.
+
==== %install ====
==== %install ====
# clean out the build root, to make sure nothing old is hanging around
# clean out the build root, to make sure nothing old is hanging around
Stephdl
Administrators
5,576
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
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
Search