PDA

View Full Version : osc usage



nagual_sorcerer07
10-Jan-2015, 00:42
Dear all:
I want to check out a source package which contains a certain file in my system:

rpm -qf /usr/lib/libX11.so.6.2.0
xorg-x11-libX11-32bit-7.4-5.11.11.1

Then I want to know where is the source code repository:
rpm -q --qf '%{disturl}\n' xorg-x11-libX11-32bit-7.4-5.11.11.1
obs://build.suse.de/SUSE:SLE-11:Update:Test/standard/3d1355f7c5ba81093d1a105bfeb43be0-xorg-x11-libX11

osc co -r 3d1355f7c5ba81093d1a105bfeb43be0 SUSE:SLE-11:Update:Test/standard xorg-x11-libX11

The above osc command does not work. I knew the instruction format would be the following --
osc co -r RELEASE_HEX PROJECT_NAME PACKAGE_NAME

Can any one please help? I will appreciate.

Joe

malcolmlewis
10-Jan-2015, 01:11
On Fri 09 Jan 2015 11:44:01 PM CST, nagual sorcerer07 wrote:


Dear all:
I want to check out a source package which contains a certain file
in my system:

RPM -QF /USR/LIB/LIBX11.SO.6.2.0
*-xorg-x11-libX11-32bit-7.4-5.11.11.1-*

Then I want to know where is the source code repository:
RPM -Q --QF '%{DISTURL}\N' XORG-X11-LIBX11-32BIT-7.4-5.11.11.1
*-obs://build.suse.de/SUSE:SLE-11:Update:Test/standard/3d1355f7c5ba81093d1a105bfeb43be0-xorg-x11-libX11-*

OSC CO -R 3D1355F7C5BA81093D1A105BFEB43BE0
SUSE:SLE-11:UPDATE:TEST/STANDARD XORG-X11-LIBX11

The above *osc* command does not work. I knew the instruction format
would be the following --
osc co -r RELEASE_HEX PROJECT_NAME PACKAGE_NAME

Can any one please help? I will appreciate.

Joe




Hi
The system needs to be registered and add the online source repository
(zypper will show srcpackage), else grab DVD2 which contains the src
rpms.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!