[opensuse] repackage pgcalc rpm with new source package?
Listmates, I would like to repackage the pgcalc rpm with the latest source. The current suse rpm was packaged with "pgcalc2-2.2-6.tar.gz" as the source and the rpm is version 2.2-222.1. I have downloaded the current source of "pgcalc2-2.2-10.tar.gz". I also have the current .src.rpm which is "pgcalc-2.2-222.1.src.rpm" Can I simply install the .src.rpm, replace the source package in /usr/src/packages/SOURCES and the rebuild the rpm with rpmbuild --rebuild specfile? I know rpm concept of "pristine source" + patches, then build, but wouldn't just jumping ahead to the latest source work? -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin wrote:
Listmates,
<< ADDENDUM >>
Can I simply install the .src.rpm, replace the source package in /usr/src/packages/SOURCES and the rebuild the rpm with
rpmbuild -bb specfile? I'll give it a shot and report back. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin wrote:
David C. Rankin wrote:
Listmates,
<< ADDENDUM >>
Can I simply install the .src.rpm, replace the source package in /usr/src/packages/SOURCES and the rebuild the rpm with
rpmbuild -bb specfile?
I'll give it a shot and report back.
Works like a charm with only slight modification of the spec file: Release: 222.10 Source: %{name}2-%{version}-10.tar.gz #Patch: pgcalc.diff #Patch2: pgcalc-lcdcrash.diff #Patch3: pgcalc-initvars.diff #Patch4: fix-desktop-icon.diff Patch: fix-desktop-icon.diff %debug_package %prep %setup -q -n pgcalc2-%version-10 %patch #%patch2 #%patch3 #%patch4 -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin escribió:
Listmates,
I would like to repackage the pgcalc rpm with the latest source.
Do you have a buildservice account ? -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
participants (2)
-
Cristian Rodríguez
-
David C. Rankin