Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 314827 Details for
Bug 459305
%lang tagging
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
%lang'ify Locations.*.xml
libgweather.patch (text/plain), 1.34 KB, created by
Ville Skyttä
on 2008-08-22 18:38:35 UTC
(
hide
)
Description:
%lang'ify Locations.*.xml
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2008-08-22 18:38:35 UTC
Size:
1.34 KB
patch
obsolete
>Index: libgweather.spec >=================================================================== >RCS file: /cvs/pkgs/rpms/libgweather/devel/libgweather.spec,v >retrieving revision 1.20 >diff -u -r1.20 libgweather.spec >--- libgweather.spec 5 Aug 2008 03:45:51 -0000 1.20 >+++ libgweather.spec 22 Aug 2008 18:35:12 -0000 >@@ -51,18 +51,26 @@ > make > cd .. > >+# waste less space >+xsltproc %{SOURCE1} data/Locations.xml > data/loc.xml >+xmllint --noblanks data/loc.xml > data/Locations.xml >+ > %install > rm -rf $RPM_BUILD_ROOT > >-# waste less space >-xsltproc %{SOURCE1} data/Locations.xml > loc.xml >-sed -e "s/^\s*//" -e "/^$/d" loc.xml > data/Locations.xml >- > make install DESTDIR=$RPM_BUILD_ROOT > find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' > > %find_lang %{name} > >+# %%langify Locations.*.xml >+for file in $(ls -1 $RPM_BUILD_ROOT%{_datadir}/libgweather/Locations.*.xml) >+do >+ file=$(echo $file | sed -e "s|^$RPM_BUILD_ROOT||") >+ lang=$(echo $file | sed -e 's|.*/Locations\.\(.*\)\.xml|\1|') >+ echo "%%lang($lang) $file" >> %{name}.lang >+done >+ > %clean > rm -rf $RPM_BUILD_ROOT > >@@ -91,7 +99,9 @@ > %doc COPYING > %{_sysconfdir}/gconf/schemas/gweather.schemas > %{_libdir}/libgweather.so.* >-%{_datadir}/libgweather >+%dir %{_datadir}/libgweather >+%{_datadir}/libgweather/locations.dtd >+%lang(en) %{_datadir}/libgweather/Locations.xml > > %files devel > %defattr(-,root,root,-)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 459305
: 314827