Skip to content

Commit

Permalink
Merge pull request #902 from davidlt/revert-framework-data-package-re…
Browse files Browse the repository at this point in the history
…moval

Revert "cmsswdata: remove data-FWCore-Framework"
  • Loading branch information
davidlt committed Jul 29, 2014
2 parents 97cb297 + 9eeb771 commit f5105e4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmsswdata.spec
Expand Up @@ -44,6 +44,7 @@ Requires: data-Configuration-Generator
Requires: data-DQM-PhysicsHWW
Requires: data-CondFormats-JetMETObjects
Requires: data-RecoLocalCalo-EcalDeadChannelRecoveryAlgos
Requires: data-FWCore-Framework

%if %isnotonline
# extra data dependencies for standard builds
Expand Down
21 changes: 21 additions & 0 deletions data-FWCore-Framework.spec
@@ -0,0 +1,21 @@
### RPM cms data-FWCore-Framework V00-00-01

Source0: http://davidlt.web.cern.ch/davidlt/vault/cond_dump.root

%prep
# NOP

%build
# NOP

%install
DATADIR=%{i}/FWCore/Framework/data
mkdir -p ${DATADIR}
cp %{SOURCE0} ${DATADIR}
find %{i} -type d -exec chmod 0755 {} \;
find %{i} -type f -exec chmod 0644 {} \;

%post
%define base_tool %(echo "%{n}" | tr '[a-z-]' '[A-Z_]')
echo "%{base_tool}_ROOT='${CMS_INSTALL_PREFIX}/%{pkgrel}'" > ${RPM_INSTALL_PREFIX}/%{pkgrel}/etc/profile.d/init.sh
echo "set %{base_tool}_ROOT='${CMS_INSTALL_PREFIX}/%{pkgrel}'" > ${RPM_INSTALL_PREFIX}/%{pkgrel}/etc/profile.d/init.csh

0 comments on commit f5105e4

Please sign in to comment.