Projects
Multimedia
qmp3gain
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
qmp3gain.spec
Changed
@@ -56,16 +56,6 @@ export QT_HASH_SEED=0 %qmake5 %make_build -ts='1234567890' -date="`date -u --iso-8601=seconds -d @${ts} | sed 's@+.*@.123@'`" -sqlite3 help/qmp3gain.qhc .dump > dump.old -sqlite3 help/qmp3gain.qhc "UPDATE SettingsTable SET Value = '${date}' WHERE Key = 'LastRegisterTime'" -sqlite3 help/qmp3gain.qhc "UPDATE SettingsTable SET Value = ${ts} WHERE Key = 'CreationTime'" -sqlite3 help/qmp3gain.qhc .dump > dump.new -if diff -u dump.old dump.new -then - exit 12 -fi %install %qmake5_install @@ -74,6 +64,21 @@ %find_lang %{name} --with-qt +if pushd %{buildroot}%{_datadir}/%{name}/help +then + ts='1234567890' + date="`date -u --iso-8601=seconds -d @${ts} | sed 's@+.*@.123@'`" + sqlite3 qmp3gain.qhc .dump > dump.old + sqlite3 qmp3gain.qhc "UPDATE SettingsTable SET Value = '${date}' WHERE Key = 'LastRegisterTime'" + sqlite3 qmp3gain.qhc "UPDATE SettingsTable SET Value = ${ts} WHERE Key = 'CreationTime'" + sqlite3 qmp3gain.qhc .dump > dump.new + if diff -u dump.old dump.new + then + exit 12 + fi + rm -f dump.old dump.new +fi + %files %defattr(-,root,root) %license COPYING
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.