Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Package Modification
(view source)
Revision as of 11:57, 11 March 2008
239 bytes added
,
11:57, 11 March 2008
→Modify a package
Line 110:
Line 110:
make prep
make prep
+
=====Make a patch=====
Then switch to the tree and make modification.
Then switch to the tree and make modification.
Line 124:
Line 125:
(man gendiff. That is what the makefile uses to generate the diff file.)
(man gendiff. That is what the makefile uses to generate the diff file.)
−
Edit the spec
+
=====Apply a patch=====
+
Or just apply a patch prepared elsewhere, if you don't 'make patch' you need to 'cvs add'
+
+
cp into the contribs7 dir
+
cvs add smeserver-foo-locale-2008-xx-xx.patch
+
+
=====
Edit the spec
=====
nano -w smeserver-foo.spec
nano -w smeserver-foo.spec
Line 140:
Line 147:
%patch2 -p1
%patch2 -p1
+
=====Commit=====
Build the rpm locally to test, (note, this deletes the working tree!)
Build the rpm locally to test, (note, this deletes the working tree!)
make local
make local
Snoble
Administrators
2,569
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